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 88fc6c491f #18263
Closes #18371
This commit is contained in:
Viktor Szakats 2025-08-22 23:55:47 +02:00
parent d6c51a8fda
commit 03868ca714
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -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;
}