Loading lib/hostasyn.c +5 −2 Original line number Diff line number Diff line Loading @@ -112,8 +112,8 @@ static CURLcode addrinfo_callback(void *arg, /* "struct connectdata *" */ if(CURL_ASYNC_SUCCESS == status) { /* * IPv4: Curl_addrinfo_copy() copies the address and returns an allocated * version. * IPv4/ares: Curl_addrinfo_copy() copies the address and returns an * allocated version. * * IPv6: Curl_addrinfo_copy() returns the input pointer! */ Loading Loading @@ -164,6 +164,9 @@ CURLcode Curl_addrinfo6_callback(void *arg, /* "struct connectdata *" */ int status, struct addrinfo *ai) { /* NOTE: for CURLRES_ARES, the 'ai' argument is really a * 'struct hostent' pointer. */ return addrinfo_callback(arg, status, ai); } #endif Loading Loading
lib/hostasyn.c +5 −2 Original line number Diff line number Diff line Loading @@ -112,8 +112,8 @@ static CURLcode addrinfo_callback(void *arg, /* "struct connectdata *" */ if(CURL_ASYNC_SUCCESS == status) { /* * IPv4: Curl_addrinfo_copy() copies the address and returns an allocated * version. * IPv4/ares: Curl_addrinfo_copy() copies the address and returns an * allocated version. * * IPv6: Curl_addrinfo_copy() returns the input pointer! */ Loading Loading @@ -164,6 +164,9 @@ CURLcode Curl_addrinfo6_callback(void *arg, /* "struct connectdata *" */ int status, struct addrinfo *ai) { /* NOTE: for CURLRES_ARES, the 'ai' argument is really a * 'struct hostent' pointer. */ return addrinfo_callback(arg, status, ai); } #endif Loading