mirror of
https://github.com/curl/curl.git
synced 2026-07-24 19:57:25 +03:00
ares_gethostbyname wants a 'ares_host_callback' in the 4th argument
This commit is contained in:
parent
d118312922
commit
41def21f91
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
|
|||
|
||||
/* areschannel is already setup in the Curl_open() function */
|
||||
ares_gethostbyname(data->state.areschannel, hostname, PF_INET,
|
||||
(ares_callback)Curl_addrinfo4_callback, conn);
|
||||
(ares_host_callback)Curl_addrinfo4_callback, conn);
|
||||
|
||||
*waitp = TRUE; /* please wait for the response */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue