summaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-24 23:41:58 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-24 23:41:58 +0100
commit8204826b2bdcbd25c6c16bad822045f0293021cc (patch)
treee07eaf58bced0cd81d55a3f27486c93ab8f60d48 /lib/multi.c
parentecb13416e316fc1c781f865d2bb7e74462ef793b (diff)
downloadcurl-bagder/hostip-proxy-data-conn.tar.gz
hostip/proxy: remove conn->data usebagder/hostip-proxy-data-conn
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 0f9d79dc2..85707a1af 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -1499,7 +1499,7 @@ static CURLcode protocol_connect(struct Curl_easy *data,
if(!conn->bits.protoconnstart) {
#ifndef CURL_DISABLE_PROXY
- result = Curl_proxy_connect(conn, FIRSTSOCKET);
+ result = Curl_proxy_connect(data, FIRSTSOCKET);
if(result)
return result;
@@ -1729,7 +1729,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
hostname = conn->host.name;
/* check if we have the name resolved by now */
- dns = Curl_fetch_addr(conn, hostname, (int)conn->port);
+ dns = Curl_fetch_addr(data, hostname, (int)conn->port);
if(dns) {
#ifdef CURLRES_ASYNCH