mirror of
https://github.com/curl/curl.git
synced 2026-06-24 22:45:38 +03:00
asyn-thrdd: minor without-IPv6 fixes
Pointed out by Copilot Closes #21413
This commit is contained in:
parent
37ab2469c1
commit
0f2b020c03
1 changed files with 2 additions and 2 deletions
|
|
@ -384,7 +384,7 @@ static void async_thrdd_item_process(void *arg)
|
|||
#else /* HAVE_GETADDRINFO */
|
||||
|
||||
/* Process the item, using Curl_ipv4_resolve_r() */
|
||||
static void async_thrdd_item_process(void *item)
|
||||
static void async_thrdd_item_process(void *arg)
|
||||
{
|
||||
struct async_thrdd_item *item = arg;
|
||||
|
||||
|
|
@ -612,7 +612,7 @@ CURLcode Curl_async_getaddrinfo(struct Curl_easy *data,
|
|||
if(result)
|
||||
return result;
|
||||
|
||||
#ifdef CURL_IPRESOLVE_V6
|
||||
#ifdef CURLRES_IPV6
|
||||
/* Do not start an AAAA query for an ipv4 address when
|
||||
* we will start an A query for it. */
|
||||
if((async->dns_queries & CURL_DNSQ_AAAA) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue