summaryrefslogtreecommitdiff
path: root/ares_gethostbyname.c
diff options
context:
space:
mode:
authorSteinar H. Gunderson <sesse@google.com>2007-09-28 15:56:28 (GMT)
committerSteinar H. Gunderson <sesse@google.com>2007-09-28 15:56:28 (GMT)
commit3b5e49995fd8c62db2de3cea61912439833a9bd0 (patch)
tree012db4938f4c83144c67504a2738b8f10d976f62 /ares_gethostbyname.c
parentf785dbd9c43421cdaab0cfcc746c4d9820e0b5ff (diff)
downloadc-ares-3b5e49995fd8c62db2de3cea61912439833a9bd0.zip
c-ares-3b5e49995fd8c62db2de3cea61912439833a9bd0.tar.gz
c-ares-3b5e49995fd8c62db2de3cea61912439833a9bd0.tar.bz2
Unrevert previous 'missing' hunks. They were missing since the patch is still in for review :-)
Diffstat (limited to 'ares_gethostbyname.c')
-rw-r--r--ares_gethostbyname.c4
1 files changed, 2 insertions, 2 deletions
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);
}