mirror of
https://github.com/curl/curl.git
synced 2026-04-15 06:31:42 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue