]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/http-support.c
Fix typos in snprintf/vsnprintf emulation code.
[thirdparty/cups.git] / cups / http-support.c
index 364939bcc48b57ee64f6f0d1e79819ed3c88d3c5..6d86071407edec7ce71d316c7d782b98a747cfbf 100644 (file)
@@ -13,6 +13,7 @@
  */
 
 #include "cups-private.h"
+#include "debug-internal.h"
 #ifdef HAVE_DNSSD
 #  include <dns_sd.h>
 #  ifdef _WIN32
@@ -1322,7 +1323,7 @@ _httpSetDigestAuthString(
   size_t       hashsize;               /* Size of hash */
 
 
-  DEBUG_printf(("2_httpSetDigestAuthString(http=%p, nonce=\"%s\", method=\"%s\", resource=\"%s\")", http, nonce, method, resource));
+  DEBUG_printf(("2_httpSetDigestAuthString(http=%p, nonce=\"%s\", method=\"%s\", resource=\"%s\")", (void *)http, nonce, method, resource));
 
   if (nonce && *nonce && strcmp(nonce, http->nonce))
   {
@@ -1763,9 +1764,6 @@ _httpResolveURI(
     _http_uribuf_t     uribuf;         /* URI buffer */
     int                        offline = 0;    /* offline-report state set? */
 #  ifdef HAVE_DNSSD
-#    ifdef _WIN32
-#      pragma comment(lib, "dnssd.lib")
-#    endif /* _WIN32 */
     DNSServiceRef      ref,            /* DNS-SD master service reference */
                        domainref = NULL,/* DNS-SD service reference for domain */
                        ippref = NULL,  /* DNS-SD service reference for network IPP */