From: msweet Date: Thu, 20 Feb 2014 16:01:02 +0000 (+0000) Subject: The scheduler now automatically reconnects to Avahi as needed (STR #4370) X-Git-Tag: v2.2b1~741 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb0a112b949e71e5c7b9d82dcd37023bf04d8c83;p=thirdparty%2Fcups.git The scheduler now automatically reconnects to Avahi as needed (STR #4370) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11625 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/CHANGES-1.7.txt b/CHANGES-1.7.txt index a237389e42..25d3a227e5 100644 --- a/CHANGES-1.7.txt +++ b/CHANGES-1.7.txt @@ -5,6 +5,8 @@ CHANGES IN CUPS V1.7.2 - Security: The scheduler now blocks URLs containing embedded HTML (STR #4356) + - The scheduler now automatically reconnects to Avahi as needed + (STR #4370) - The scheduler did not handle GET requests for the log files properly (STR #3265) - The dnssd backend did not always report all discovered printers using diff --git a/scheduler/dirsvc.c b/scheduler/dirsvc.c index 35eccb8007..3f053f67f2 100644 --- a/scheduler/dirsvc.c +++ b/scheduler/dirsvc.c @@ -193,8 +193,7 @@ cupsdStartBrowsing(void) { int error; /* Error code, if any */ - DNSSDClient = avahi_client_new(avahi_threaded_poll_get(DNSSDMaster), 0, - NULL, NULL, &error); + DNSSDClient = avahi_client_new(avahi_threaded_poll_get(DNSSDMaster), AVAHI_CLIENT_NO_FAIL, NULL, NULL, &error); if (DNSSDClient == NULL) {