diff options
author | Yang Tse <yangsita@gmail.com> | 2008-10-30 13:45:25 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-10-30 13:45:25 +0000 |
commit | 0ce97f77e02acd2de15970270834a7011ce6cb38 (patch) | |
tree | f4126643e401db6323a14eba48d4611e9d95d4f6 /lib/hostasyn.c | |
parent | 197ad60d219e33efcbf0ad28618ce88cfd4b9713 (diff) | |
download | curl-0ce97f77e02acd2de15970270834a7011ce6cb38.tar.gz |
Use our Curl_addrinfo definition even when an addrinfo struct is available.
Use a wrapper function to call system's getaddrinfo().
Diffstat (limited to 'lib/hostasyn.c')
-rw-r--r-- | lib/hostasyn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostasyn.c b/lib/hostasyn.c index f989b1da9..802698af0 100644 --- a/lib/hostasyn.c +++ b/lib/hostasyn.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -160,7 +160,7 @@ CURLcode Curl_addrinfo6_callback(void *arg, /* "struct connectdata *" */ #ifdef HAVE_CARES_CALLBACK_TIMEOUTS int timeouts, #endif - struct addrinfo *ai) + Curl_addrinfo *ai) { /* NOTE: for CURLRES_ARES, the 'ai' argument is really a * 'struct hostent' pointer. |