diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2021-01-26 18:57:43 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2021-01-27 03:26:55 -0500 |
commit | 44c9e18e5fdcc9367c5d04c762d2082382ab5f1e (patch) | |
tree | 939addf9d857e818f93708585af5921358b86ab6 /lib/asyn-thread.c | |
parent | 62e0fe21561eab43837154d918f1e9676f10bb14 (diff) | |
download | curl-44c9e18e5fdcc9367c5d04c762d2082382ab5f1e.tar.gz |
asyn-thread: fix build for when getaddrinfo missing
This is a follow-up to 8315343 which several days ago moved the resolver
pointer into the async struct but did not update the code that uses it
when getaddrinfo is not present.
Closes https://github.com/curl/curl/pull/6536
Diffstat (limited to 'lib/asyn-thread.c')
-rw-r--r-- | lib/asyn-thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asyn-thread.c b/lib/asyn-thread.c index 3399b1a25..9fcbc3c1f 100644 --- a/lib/asyn-thread.c +++ b/lib/asyn-thread.c @@ -696,7 +696,7 @@ struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct Curl_easy *data, int port, int *waitp) { - struct resdata *reslv = (struct resdata *)data->state.resolver; + struct resdata *reslv = (struct resdata *)data->state.async.resolver; *waitp = 0; /* default to synchronous response */ |