From: Michael R Sweet Date: Thu, 30 Sep 2021 22:57:25 +0000 (-0400) Subject: Add debugging to Windows TLS code. X-Git-Tag: v2.4b1~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e7c0969315085db82956e37886fdac1e083e4ea;p=thirdparty%2Fcups.git Add debugging to Windows TLS code. --- diff --git a/cups/tls-sspi.c b/cups/tls-sspi.c index 3384db7d2c..b4d8a94fbb 100644 --- a/cups/tls-sspi.c +++ b/cups/tls-sspi.c @@ -683,9 +683,15 @@ size_t /* O - Bytes available */ _httpTLSPending(http_t *http) /* I - HTTP connection */ { if (http->tls) + { + DEBUG_printf(("4_httpTLSPending: Returning %d.", http->tls->readBufferUsed)); return (http->tls->readBufferUsed); + } else + { + DEBUG_puts("4_httpTLSPending: Returning 0."); return (0); + } }