summaryrefslogtreecommitdiff
path: root/lib/hostip.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/hostip.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/hostip.c')
-rw-r--r--lib/hostip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 9ca9bdbe7..46f641135 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -309,11 +309,10 @@ static struct Curl_dns_entry *fetch_addr(struct Curl_easy *data,
* use, or we'll leak memory!
*/
struct Curl_dns_entry *
-Curl_fetch_addr(struct connectdata *conn,
+Curl_fetch_addr(struct Curl_easy *data,
const char *hostname,
int port)
{
- struct Curl_easy *data = conn->data;
struct Curl_dns_entry *dns = NULL;
if(data->share)