projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f785dbd
)
Unrevert previous 'missing' hunks. They were missing since the patch is still in...
author
Steinar H. Gunderson
<sesse@google.com>
Fri, 28 Sep 2007 15:56:28 +0000
(15:56 +0000)
committer
Steinar H. Gunderson
<sesse@google.com>
Fri, 28 Sep 2007 15:56:28 +0000
(15:56 +0000)
ares_gethostbyname.c
patch
|
blob
|
history
diff --git
a/ares_gethostbyname.c
b/ares_gethostbyname.c
index 8150b2ae78524630a97be6ab96a9c3763f17f7c1..49ae53ed3b8f057444474a0bcb08c2d78d28b606 100644
(file)
--- 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);
}