summaryrefslogtreecommitdiff
path: root/lib/hostip.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-24 23:32:24 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-26 10:00:59 +0100
commit560fc170ec8976019544546762d565bbf786fdc9 (patch)
treec2d2c181a299c2f7bd2f5c826d611b552d62db8f /lib/hostip.c
parentdf583434405eb564f5eb35995b7b98f268956031 (diff)
downloadcurl-560fc170ec8976019544546762d565bbf786fdc9.tar.gz
url: reduce conn->data references
... there are a few left but let's keep them to last Closes #6512
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 9ca9bdbe7..08d282b31 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -1108,7 +1108,7 @@ CURLcode Curl_once_resolved(struct Curl_easy *data, bool *protocol_done)
data->state.async.dns = NULL;
}
- result = Curl_setup_conn(conn, protocol_done);
+ result = Curl_setup_conn(data, protocol_done);
if(result) {
Curl_detach_connnection(data);