]> granicus.if.org Git - curl/commitdiff
ares_gethostbyname wants a 'ares_host_callback' in the 4th argument
authorDaniel Stenberg <daniel@haxx.se>
Tue, 8 Feb 2005 19:03:27 +0000 (19:03 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Feb 2005 19:03:27 +0000 (19:03 +0000)
lib/hostares.c

index 452c7588c3a75998b0aebe6b70f50712172ca390..c17e991e25f80877771f1354e4af0ab05279a3eb 100644 (file)
@@ -291,7 +291,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
 
     /* areschannel is already setup in the Curl_open() function */
     ares_gethostbyname(data->state.areschannel, hostname, PF_INET,
-                       (ares_callback)Curl_addrinfo4_callback, conn);
+                       (ares_host_callback)Curl_addrinfo4_callback, conn);
 
     *waitp = TRUE; /* please wait for the response */
   }