aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-10-23 20:41:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-10-23 20:41:50 +0000
commit36a3514225d610de64f089c36c39615de1139fcc (patch)
tree52daf6192f4d150ce81a3849d67519d115cb38cd /lib
parente1edd41e1b9357cec2d42762e8ae67e356693941 (diff)
the check in ConnectionExists() for not re-using a non-resolved connection now
applies for asynch name resolves in general and not only ares
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 4ca5d56a7..2cfbc9d4e 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1937,7 +1937,7 @@ ConnectionExists(struct SessionHandle *data,
/* NULL pointer means not filled-in entry */
continue;
-#ifdef USE_ARES
+#ifdef CURLRES_ASYNCH
/* ip_addr_str is NULL only if the resolving of the name hasn't completed
yet and until then we don't re-use this connection */
if (!check->ip_addr_str)