mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-10-06 01:49:56 +00:00
Unrevert previous 'missing' hunks. They were missing since the patch is still in for review :-)
This commit is contained in:
@ -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, NULL, NULL);
|
||||
status = ares_parse_a_reply(abuf, alen, &host);
|
||||
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, NULL, NULL);
|
||||
status = ares_parse_aaaa_reply(abuf, alen, &host);
|
||||
if (host && channel->nsort)
|
||||
sort6_addresses(host, channel->sortlist, channel->nsort);
|
||||
}
|
||||
|
Reference in New Issue
Block a user