diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-09-19 09:54:12 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-09-20 08:07:28 +0200 |
commit | cc95dbd64f35bc11c55c475d32012c5491e2f01b (patch) | |
tree | 270738e0f1d05370537cf8165577c72ffbe98451 /lib/http_proxy.c | |
parent | d0390a538aa0ee220e865580f5cede7315c441fd (diff) |
http_proxy: part of conditional expression is always true: !error
Fixes warning detected by PVS-Studio
Fixes #4374
Diffstat (limited to 'lib/http_proxy.c')
-rw-r--r-- | lib/http_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_proxy.c b/lib/http_proxy.c index ba67b861b..710101774 100644 --- a/lib/http_proxy.c +++ b/lib/http_proxy.c @@ -327,7 +327,7 @@ static CURLcode CONNECT(struct connectdata *conn, { /* READING RESPONSE PHASE */ int error = SELECT_OK; - while(s->keepon && !error) { + while(s->keepon) { ssize_t gotbytes; /* make sure we have space to read more data */ |