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:
parent
d0390a538a
commit
cc95dbd64f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user