From: Viktor Szakats Date: Fri, 22 Aug 2025 21:55:47 +0000 (+0200) Subject: asyn-thrdd: fix no `HAVE_GETADDRINFO` builds X-Git-Tag: curl-8_16_0~106 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03868ca7148f2e3eb7c82c4fa5b4dfb246279a1b;p=thirdparty%2Fcurl.git asyn-thrdd: fix no `HAVE_GETADDRINFO` builds mingw32ce, CM 4.4.0-arm schannel: ``` lib/asyn-thrdd.c: In function 'gethostbyname_thread': lib/asyn-thrdd.c:349: error: too many arguments to function 'async_thrd_cleanup' ``` Ref: https://github.com/curl/curl/actions/runs/17158865566/job/48682687295?pr=18039#step:9:21 Follow-up to 88fc6c491f043ed184ea2cf1a17b651427fbbbf5 #18263 Closes #18371 --- diff --git a/lib/asyn-thrdd.c b/lib/asyn-thrdd.c index f82eb29ba8..4f657b4a4b 100644 --- a/lib/asyn-thrdd.c +++ b/lib/asyn-thrdd.c @@ -346,7 +346,7 @@ static CURL_THREAD_RETURN_T CURL_STDCALL gethostbyname_thread(void *arg) #pragma clang diagnostic pop #endif - async_thrd_cleanup(addr_ctx, 0); + async_thrd_cleanup(addr_ctx); return 0; }