summaryrefslogtreecommitdiff
path: root/lib/http_proxy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-18 11:56:50 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-18 22:54:47 +0100
commit566b77877eee56f4568892d1c0cb5f992c33cd7b (patch)
tree674f12deb7488583cf2cc5255b62e03c58070c34 /lib/http_proxy.c
parentba93ab2a2aeb930c92d45635b5713bc7499da270 (diff)
downloadcurl-bagder/more-data-conn.tar.gz
lib: more conn->data cleanupsbagder/more-data-conn
Diffstat (limited to 'lib/http_proxy.c')
-rw-r--r--lib/http_proxy.c4
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)