aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorSteinar H. Gunderson <sesse@google.com>2007-09-28 15:55:11 +0000
committerSteinar H. Gunderson <sesse@google.com>2007-09-28 15:55:11 +0000
commit026d93b4f6f01b5a726da32a7da2a4105875d97e (patch)
tree2e4f039cef6ce329eda9a362e0b4482bdcfacc6c /ares
parent36710c4586b0e4c941b6c0e56399d881eb8eb0b5 (diff)
Yet more missing hunks... Nggh.
Diffstat (limited to 'ares')
-rw-r--r--ares/ares_gethostbyname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/ares_gethostbyname.c b/ares/ares_gethostbyname.c
index 49ae53ed3..8150b2ae7 100644
--- a/ares/ares_gethostbyname.c
+++ b/ares/ares_gethostbyname.c
@@ -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);
}