X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-client%2Fbrowser.c;h=24393b8b6837f53ad921b360e97fa01d3e646d6e;hb=a1bb251e3a55f944cb1face3464b58728a247722;hp=a8a823ebe1c719224e203550c9068f7806bb7edc;hpb=9e4237ebed07d00bf1176178d1358b475d749b27;p=catta diff --git a/avahi-client/browser.c b/avahi-client/browser.c index a8a823e..24393b8 100644 --- a/avahi-client/browser.c +++ b/avahi-client/browser.c @@ -200,7 +200,7 @@ AvahiDomainBrowser* avahi_domain_browser_new( goto fail; } - if (db->static_browse_domains) { + if (db->static_browse_domains && btype == AVAHI_DOMAIN_BROWSER_BROWSE) { struct timeval tv = { 0, 0 }; if (!(db->defer_timeout = client->poll_api->timeout_new(client->poll_api, &tv, defer_timeout_callback, db))) {