lib: clear up CURLRES_ASYNCH vs USE_CURL_ASYNC use

CURLRES_ASYNCH - is for when built to use an async name resolver; threaded or
c-ares

USE_CURL_ASYNC - is for when built to use either an async name resolver OR DoH

Reported-by: Lars Karlitski
Fixes #16645
Closes #16648
This commit is contained in:
Daniel Stenberg 2025-03-10 11:55:01 +01:00
parent aa8d1d648e
commit 3c2948e0a6
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 5 additions and 5 deletions

View file

@ -747,7 +747,7 @@ enum resolve_t Curl_resolv(struct Curl_easy *data,
int st;
Curl_set_in_callback(data, TRUE);
st = data->set.resolver_start(
#ifdef USE_CURL_ASYNC
#ifdef CURLRES_ASYNCH
data->state.async.resolver,
#else
NULL,