From: Michael R Sweet Date: Thu, 8 Apr 2021 12:43:21 +0000 (-0400) Subject: Fix one other spot where http->fd isn't reset to -1 (Issue #5915) X-Git-Tag: v2.4b1~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c92c5febb9f0a0f1c489dc21c7b57b00b15ffe6;p=thirdparty%2Fcups.git Fix one other spot where http->fd isn't reset to -1 (Issue #5915) --- diff --git a/cups/http.c b/cups/http.c index a988e1fae4..f7331036d0 100644 --- a/cups/http.c +++ b/cups/http.c @@ -2788,6 +2788,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);