From: Daniel Stenberg Date: Tue, 8 Feb 2005 19:03:27 +0000 (+0000) Subject: ares_gethostbyname wants a 'ares_host_callback' in the 4th argument X-Git-Tag: before_ftp_statemachine~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41def21f910375008f588308d79b154db9d42d68;p=thirdparty%2Fcurl.git ares_gethostbyname wants a 'ares_host_callback' in the 4th argument --- diff --git a/lib/hostares.c b/lib/hostares.c index 452c7588c3..c17e991e25 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 */ }