diff --git a/lib/url.c b/lib/url.c index 850a9451fe2ce5ec2029e744fb35906b97fc7137..4bb4234f733b4897ec1a4c0811dd006b75d202b9 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 { /*