diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2021-04-08 08:46:49 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2021-04-08 08:46:49 -0400 |
commit | 1f3d159e4e8183bca40f16c1cfc80672bb260a46 (patch) | |
tree | 3c4403fcdf61c8f49c20d66d91786720cd2a7e85 /cups | |
parent | 461bd4e50142b2928a0d164bd1aae274e4d34da5 (diff) | |
download | cups-1f3d159e4e8183bca40f16c1cfc80672bb260a46.tar.gz |
Fix one other spot where http->fd isn't reset to -1 (Issue #5915)
Diffstat (limited to 'cups')
-rw-r--r-- | cups/http.c | 1 |
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); |