From 100a47d0ac9a34940aae543d2e0cd969b0c22491 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 22 Jan 2006 17:25:07 +0000 Subject: [PATCH] fix avahi-browse to properly show when services are removed git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1094 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-utils/avahi-browse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/avahi-utils/avahi-browse.c b/avahi-utils/avahi-browse.c index a5d9d25..7abd53e 100644 --- a/avahi-utils/avahi-browse.c +++ b/avahi-utils/avahi-browse.c @@ -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; -- 2.39.5