]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/http.c
Fix one other spot where http->fd isn't reset to -1 (Issue #5915)
[thirdparty/cups.git] / cups / http.c
index dcc00ac52253f6b50b2c57dc7f8c03b40e4615f2..43ace18f4428f7313809e644dead8b4af81a677a 100644 (file)
@@ -2787,6 +2787,7 @@ _httpUpdate(http_t        *http,  /* I - HTTP connection */
       if (_httpTLSStart(http) != 0)
       {
         httpAddrClose(NULL, http->fd);
+        http->fd = -1;
 
        *status = http->status = HTTP_STATUS_ERROR;
        return (0);