aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
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 8150b2ae7..49ae53ed3 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, 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);
}