From 3b5e49995fd8c62db2de3cea61912439833a9bd0 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 28 Sep 2007 15:56:28 +0000 Subject: Unrevert previous 'missing' hunks. They were missing since the patch is still in for review :-) --- ares_gethostbyname.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ares_gethostbyname.c') diff --git a/ares_gethostbyname.c b/ares_gethostbyname.c index 8150b2a..49ae53e 100644 --- a/ares_gethostbyname.c +++ b/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); } -- cgit v1.2.3