aboutsummaryrefslogtreecommitdiff
path: root/lib/hostares.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-02-08 19:03:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-02-08 19:03:27 +0000
commit41def21f910375008f588308d79b154db9d42d68 (patch)
treef6066279f3fd314ce5bf4c790273d8a8bfcbb757 /lib/hostares.c
parentd118312922cc5415b26afd2eae2849c2c56a3359 (diff)
ares_gethostbyname wants a 'ares_host_callback' in the 4th argument
Diffstat (limited to 'lib/hostares.c')
-rw-r--r--lib/hostares.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostares.c b/lib/hostares.c
index 452c7588c..c17e991e2 100644
--- a/lib/hostares.c
+++ b/lib/hostares.c
@@ -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 */
}