1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 09:08:49 -05:00

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

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