]> granicus.if.org Git - curl/commitdiff
Unrevert previous 'missing' hunks. They were missing since the patch is still in...
authorSteinar H. Gunderson <sesse@google.com>
Fri, 28 Sep 2007 15:56:28 +0000 (15:56 +0000)
committerSteinar H. Gunderson <sesse@google.com>
Fri, 28 Sep 2007 15:56:28 +0000 (15:56 +0000)
ares/ares_gethostbyname.c

index 8150b2ae78524630a97be6ab96a9c3763f17f7c1..49ae53ed3b8f057444474a0bcb08c2d78d28b606 100644 (file)
@@ -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);
         }