diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-24 23:41:58 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-26 10:04:47 +0100 |
commit | 1dc8aa870e879d3b2ff0334cdb11842d6321d61f (patch) | |
tree | 29ccd68e0b9821ba440200513b28c4666c17daa9 /lib/multi.c | |
parent | 560fc170ec8976019544546762d565bbf786fdc9 (diff) | |
download | curl-1dc8aa870e879d3b2ff0334cdb11842d6321d61f.tar.gz |
hostip/proxy: remove conn->data use
Closes #6513
Diffstat (limited to 'lib/multi.c')
-rw-r--r-- | lib/multi.c | 4 |
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 |