From 785bad388b31ab548d1f9d4f5a71c76f48cd6d6f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 24 Jun 2004 14:39:52 +0000 Subject: Gisle cleaned up remaining host resolve re-org issues --- lib/hostasyn.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/hostasyn.c') diff --git a/lib/hostasyn.c b/lib/hostasyn.c index da072a043..2bf5a580a 100644 --- a/lib/hostasyn.c +++ b/lib/hostasyn.c @@ -96,8 +96,8 @@ **********************************************************************/ #ifdef CURLRES_ASYNCH /* - * Curl_addrinfo_callback() gets called by ares/gethostbyname_thread() when we - * got the name resolved (or not!). + * addrinfo_callback() gets called by ares, gethostbyname_thread() or + * getaddrinfo_thread() when we got the name resolved (or not!). * * If the status argument is CURL_ASYNC_SUCCESS, we might need to copy the * address field since it might be freed when this function returns. This @@ -161,9 +161,9 @@ void Curl_addrinfo4_callback(void *arg, /* "struct connectdata *" */ #ifdef CURLRES_IPV6 void Curl_addrinfo6_callback(void *arg, /* "struct connectdata *" */ int status, - struct addrinfo *hostent) + struct addrinfo *ai) { - addrinfo_callback(arg, status, hostent); + addrinfo_callback(arg, status, ai); } #endif -- cgit v1.2.3