mirror of
https://github.com/curl/curl.git
synced 2026-07-05 20:27:21 +03:00
Yet more missing hunks... Nggh.
This commit is contained in:
parent
36710c4586
commit
026d93b4f6
1 changed files with 2 additions and 2 deletions
|
|
@ -160,13 +160,13 @@ static void host_callback(void *arg, int status, int timeouts,
|
|||
{
|
||||
if (hquery->family == AF_INET)
|
||||
{
|
||||
status = ares_parse_a_reply(abuf, alen, &host);
|
||||
status = ares_parse_a_reply(abuf, alen, &host, NULL, NULL);
|
||||
if (host && channel->nsort)
|
||||
sort_addresses(host, channel->sortlist, channel->nsort);
|
||||
}
|
||||
else if (hquery->family == AF_INET6)
|
||||
{
|
||||
status = ares_parse_aaaa_reply(abuf, alen, &host);
|
||||
status = ares_parse_aaaa_reply(abuf, alen, &host, NULL, NULL);
|
||||
if (host && channel->nsort)
|
||||
sort6_addresses(host, channel->sortlist, channel->nsort);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue