]> git.meshlink.io Git - catta/commitdiff
fix avahi-browse to properly show when services are removed
authorLennart Poettering <lennart@poettering.net>
Sun, 22 Jan 2006 17:25:07 +0000 (17:25 +0000)
committerLennart Poettering <lennart@poettering.net>
Sun, 22 Jan 2006 17:25:07 +0000 (17:25 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1094 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-utils/avahi-browse.c

index a5d9d25f06d2407cf8da5f06de24ae1c512334d8..7abd53e7f56caf82ef048416e3b817dda536660a 100644 (file)
@@ -127,8 +127,8 @@ static ServiceInfo *find_service(AvahiIfIndex interface, AvahiProtocol protocol,
         if (i->interface == interface &&
             i->protocol == protocol &&
             strcasecmp(i->name, name) == 0 &&
-            avahi_domain_equal(i->type, type) == 0 &&
-            avahi_domain_equal(i->domain, domain) == 0)
+            avahi_domain_equal(i->type, type) &&
+            avahi_domain_equal(i->domain, domain))
 
             return i;