]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
ippserver did not handle Bonjour registrations properly (STR #4548)
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 30 Jan 2015 16:11:41 +0000 (16:11 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 30 Jan 2015 16:11:41 +0000 (16:11 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12456 a1ca3aef-8c08-0410-bb20-df032aa958be

CHANGES-2.0.txt
test/ippserver.c

index 5be858f4e572e162a63d2a60f092cff8ce6e7936..c61db95dbebf9b2f37ca88f47d11e4a999683c81 100644 (file)
@@ -28,6 +28,7 @@ CHANGES IN CUPS V2.0.2
          keyword was already an IPP keyword (<rdar://problem/19121005>)
        - cupsGetPPD* sent bad requests (STR #4567)
        - ippserver used the wrong temporary directory on Windows (STR #4547)
+       - ippserver did not handle Bonjour registrations properly (STR #4548)
 
 
 CHANGES IN CUPS V2.0.1
index 8e917fd94ddd56b43df812b52318bba551f284ad..fbe57add29166d4451952b93141d292c084753fb 100644 (file)
@@ -361,7 +361,7 @@ static void         delete_client(_ipp_client_t *client);
 static void            delete_job(_ipp_job_t *job);
 static void            delete_printer(_ipp_printer_t *printer);
 #ifdef HAVE_DNSSD
-static void            dnssd_callback(DNSServiceRef sdRef,
+static void DNSSD_API  dnssd_callback(DNSServiceRef sdRef,
                                       DNSServiceFlags flags,
                                       DNSServiceErrorType errorCode,
                                       const char *name,
@@ -2300,7 +2300,7 @@ delete_printer(_ipp_printer_t *printer)   /* I - Printer */
  * 'dnssd_callback()' - Handle Bonjour registration events.
  */
 
-static void
+static void DNSSD_API
 dnssd_callback(
     DNSServiceRef       sdRef,         /* I - Service reference */
     DNSServiceFlags     flags,         /* I - Status flags */