From 03868ca7148f2e3eb7c82c4fa5b4dfb246279a1b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 22 Aug 2025 23:55:47 +0200 Subject: [PATCH] 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 --- lib/asyn-thrdd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }