]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Don't call http_debug_hex in non-debug builds.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 7 Oct 2011 21:14:17 +0000 (21:14 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 7 Oct 2011 21:14:17 +0000 (21:14 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10063 7a7537e8-13f0-0310-91df-b6672ffda945

CHANGES-1.5.txt
cups/http.c

index d35a02d086329d89fb26d9c12c1b357ffa909ef4..1b78573c6018a0668b4d28643f37c7988a605df5 100644 (file)
@@ -4,6 +4,7 @@ CHANGES-1.5.txt
 CHANGES IN CUPS V1.5.1
 
        - Documentation updates (STR #3885, STR #3946)
+       - Build fixes (STR #3956)
        - The lpstat command would crash when then "-u" option was used by a
          non-administrator (STR #3953)
        - Japanese supply level reporting did not always work.
index e69d32071fbcfec830e2cf137bdb3346b1293441..952297b56aa194d1eb473bdd5e2295b281b05796 100644 (file)
@@ -3199,10 +3199,13 @@ _httpWriteGNUTLS(
 
   DEBUG_printf(("6_httpWriteGNUTLS(ptr=%p, data=%p, length=%d)", ptr, data,
                 (int)length));
+#ifdef DEBUG
   http_debug_hex("_httpWriteGNUTLS", data, (int)length);
+#endif /* DEBUG */
 
   bytes = send(((http_t *)ptr)->fd, data, length, 0);
   DEBUG_printf(("_httpWriteGNUTLS: bytes=%d", (int)bytes));
+
   return (bytes);
 }
 #endif /* HAVE_SSL && HAVE_GNUTLS */