summaryrefslogtreecommitdiff
path: root/cups
diff options
context:
space:
mode:
Diffstat (limited to 'cups')
-rw-r--r--cups/http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cups/http.c b/cups/http.c
index dcc00ac52..43ace18f4 100644
--- a/cups/http.c
+++ b/cups/http.c
@@ -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);