aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-10-19 02:30:02 +0000
committerYang Tse <yangsita@gmail.com>2006-10-19 02:30:02 +0000
commit83884180ac5d4b55abc525099e99a7e1f0879559 (patch)
treeff94341601214d5629e07beb03acb411b56cb8f6 /lib
parent4cac96c33a98268f3aaf646caef450ae94cf367f (diff)
Builds using synchronous name resolver dislike marking the connection as async.
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 850a9451f..4bb4234f7 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3622,10 +3622,12 @@ static CURLcode CreateConnection(struct SessionHandle *data,
infof(data, "Re-using existing connection! (#%ld) with host %s\n",
conn->connectindex,
conn->bits.httpproxy?conn->proxy.dispname:conn->host.dispname);
+#ifdef CURLRES_ASYNCH
if(!conn->dns_entry) {
infof(data, "... but it is not resolved yet!\n");
*async = TRUE;
}
+#endif
}
else {
/*