diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-24 23:41:58 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-24 23:41:58 +0100 |
commit | 8204826b2bdcbd25c6c16bad822045f0293021cc (patch) | |
tree | e07eaf58bced0cd81d55a3f27486c93ab8f60d48 /lib/socks.c | |
parent | ecb13416e316fc1c781f865d2bb7e74462ef793b (diff) | |
download | curl-bagder/hostip-proxy-data-conn.tar.gz |
hostip/proxy: remove conn->data usebagder/hostip-proxy-data-conn
Diffstat (limited to 'lib/socks.c')
-rw-r--r-- | lib/socks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/socks.c b/lib/socks.c index 165c5496f..d1c2a2ed1 100644 --- a/lib/socks.c +++ b/lib/socks.c @@ -257,7 +257,7 @@ CURLproxycode Curl_SOCKS4(const char *proxy_user, case CONNECT_RESOLVING: /* 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 @@ -771,7 +771,7 @@ CURLproxycode Curl_SOCKS5(const char *proxy_user, case CONNECT_RESOLVING: /* check if we have the name resolved by now */ - dns = Curl_fetch_addr(conn, hostname, remote_port); + dns = Curl_fetch_addr(data, hostname, remote_port); if(dns) { #ifdef CURLRES_ASYNCH |