]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add debugging to Windows TLS code.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Thu, 30 Sep 2021 22:57:25 +0000 (18:57 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Thu, 30 Sep 2021 22:57:25 +0000 (18:57 -0400)
cups/tls-sspi.c

index 3384db7d2ca25c62f72b148d2026c8262b60b4d6..b4d8a94fbbdd75e4c2d401d75202f688610d8a29 100644 (file)
@@ -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);
+  }
 }