diff --git a/lib/http_proxy.c b/lib/http_proxy.c index ba67b861bd..710101774a 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 */