diff options
Diffstat (limited to 'lib/hostip6.c')
-rw-r--r-- | lib/hostip6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hostip6.c b/lib/hostip6.c index ba50a0360..bb2c5e46d 100644 --- a/lib/hostip6.c +++ b/lib/hostip6.c @@ -126,7 +126,7 @@ bool Curl_ipvalid(struct SessionHandle *data) return TRUE; } -#if !defined(USE_THREADING_GETADDRINFO) && !defined(CURLRES_ARES) +#if defined(CURLRES_SYNCH) #ifdef DEBUG_ADDRINFO static void dump_addrinfo(struct connectdata *conn, const Curl_addrinfo *ai) @@ -170,7 +170,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, int pf; struct SessionHandle *data = conn->data; - *waitp=0; /* don't wait, we have the response now */ + *waitp = 0; /* synchronous response only */ /* * Check if a limited name resolve has been requested. @@ -234,6 +234,6 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, return res; } -#endif /* !USE_THREADING_GETADDRINFO && !CURLRES_ARES */ +#endif /* CURLRES_SYNCH */ #endif /* CURLRES_IPV6 */ |