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/hostip.c | |
parent | 560fc170ec8976019544546762d565bbf786fdc9 (diff) | |
download | curl-1dc8aa870e879d3b2ff0334cdb11842d6321d61f.tar.gz |
hostip/proxy: remove conn->data use
Closes #6513
Diffstat (limited to 'lib/hostip.c')
-rw-r--r-- | lib/hostip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index 08d282b31..8ba3fe81c 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) |