From: msweet Date: Fri, 30 Jan 2015 16:11:41 +0000 (+0000) Subject: ippserver did not handle Bonjour registrations properly (STR #4548) X-Git-Tag: v2.2b1~367 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=726429cbd4fd090231eda85713eb36e513c647c8;p=thirdparty%2Fcups.git ippserver did not handle Bonjour registrations properly (STR #4548) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12456 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/CHANGES-2.0.txt b/CHANGES-2.0.txt index 5be858f4e5..c61db95dbe 100644 --- a/CHANGES-2.0.txt +++ b/CHANGES-2.0.txt @@ -28,6 +28,7 @@ CHANGES IN CUPS V2.0.2 keyword was already an IPP keyword () - 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 diff --git a/test/ippserver.c b/test/ippserver.c index 8e917fd94d..fbe57add29 100644 --- a/test/ippserver.c +++ b/test/ippserver.c @@ -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 */