summaryrefslogtreecommitdiff
path: root/lib/hostasyn.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-24 14:39:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-24 14:39:52 +0000
commit785bad388b31ab548d1f9d4f5a71c76f48cd6d6f (patch)
tree3958615153431f891f599f1ac2a8d69f89bbb7d6 /lib/hostasyn.c
parentcf10df6c6805c8a4253b83a25997a7a41950f381 (diff)
downloadcurl-785bad388b31ab548d1f9d4f5a71c76f48cd6d6f.tar.gz
Gisle cleaned up remaining host resolve re-org issues
Diffstat (limited to 'lib/hostasyn.c')
-rw-r--r--lib/hostasyn.c8
1 files changed, 4 insertions, 4 deletions
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