diff options
Diffstat (limited to 'lib/http_proxy.c')
-rw-r--r-- | lib/http_proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http_proxy.c b/lib/http_proxy.c index 3e38ab0cd..37f787ba5 100644 --- a/lib/http_proxy.c +++ b/lib/http_proxy.c @@ -347,7 +347,7 @@ static CURLcode CONNECT(struct connectdata *conn, /* socket buffer drained, return */ return CURLE_OK; - if(Curl_pgrsUpdate(conn)) + if(Curl_pgrsUpdate(data)) return CURLE_ABORTED_BY_CALLBACK; if(result) { @@ -560,7 +560,7 @@ static CURLcode CONNECT(struct connectdata *conn, Curl_dyn_reset(&s->rcvbuf); } /* while there's buffer left and loop is requested */ - if(Curl_pgrsUpdate(conn)) + if(Curl_pgrsUpdate(data)) return CURLE_ABORTED_BY_CALLBACK; if(error) |