http_proxy: part of conditional expression is always true: !error

Fixes warning detected by PVS-Studio
Fixes #4374
This commit is contained in:
Daniel Stenberg 2019-09-19 09:54:12 +02:00
parent d0390a538a
commit cc95dbd64f
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 1 additions and 1 deletions

View File

@ -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 */