]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
_httpWait's usessl parameter wasn't being used.
authorMichael R Sweet <msweet@msweet.org>
Mon, 22 Sep 2025 17:19:30 +0000 (13:19 -0400)
committerMichael R Sweet <msweet@msweet.org>
Mon, 22 Sep 2025 17:19:34 +0000 (13:19 -0400)
cups/http.c

index 671d831cc8ac72a87e343bca60816686350acaa5..5c0c6a04fa0e346811f3af3cea5cb4434ed75d97 100644 (file)
@@ -3120,7 +3120,7 @@ _httpWait(http_t *http,                   // I - HTTP connection
   }
 
   // Check the TLS buffers for data first...
-  if (http->tls && _httpTLSPending(http))
+  if (usessl && http->tls && _httpTLSPending(http))
   {
     DEBUG_puts("5_httpWait: Return 1 since there is pending TLS data.");
     return (1);