summaryrefslogtreecommitdiff
path: root/lib/hostip6.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-01-25 23:50:13 +0000
committerYang Tse <yangsita@gmail.com>2010-01-25 23:50:13 +0000
commit483ff1ca75cbeabe9d0ec4548d8a4d68f8104d83 (patch)
tree657a0b65ded1c97b129babf8b36dff6c0ce25a1d /lib/hostip6.c
parentc054b8bfa7bde0c209dd3ef688d07553d6ed04fb (diff)
downloadcurl-483ff1ca75cbeabe9d0ec4548d8a4d68f8104d83.tar.gz
Constantine Sapuntzakis threaded resolver enhancements
Diffstat (limited to 'lib/hostip6.c')
-rw-r--r--lib/hostip6.c6
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 */