]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
The scheduler now automatically reconnects to Avahi as needed (STR #4370)
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Thu, 20 Feb 2014 16:01:02 +0000 (16:01 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Thu, 20 Feb 2014 16:01:02 +0000 (16:01 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11625 a1ca3aef-8c08-0410-bb20-df032aa958be

CHANGES-1.7.txt
scheduler/dirsvc.c

index a237389e4271d1e2d333e863fa201faccb27184d..25d3a227e567e316b9336ab50d13263d314a3667 100644 (file)
@@ -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
index 35eccb8007561d9908d647391770d6af3c0ee9b4..3f053f67f29a77c4488bfd08c4867f48343e7a0e 100644 (file)
@@ -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)
       {