curl-library
Re: ares and CURLOPT_ERRORBUFFER
Date: Fri, 7 May 2004 14:12:29 +0100
For consistency with the latest change:
diff -d -u -3 -w -r1.5 hostares.c
--- hostares.c 7 May 2004 06:18:47 -0000 1.5
+++ hostares.c 7 May 2004 13:03:59 -0000
@@ -236,11 +236,11 @@
if(!conn->async.dns) {
/* a name was not resolved */
if((timeout < 0) || (conn->async.status == ARES_ETIMEOUT)) {
- failf(data, "Resolving host timed out: %s", conn->host.name);
+ failf(data, "Resolving host timed out: %s", conn->host.dispname);
rc = CURLE_OPERATION_TIMEDOUT;
}
else if(conn->async.done) {
- failf(data, "Could not resolve host: %s (%s)", conn->host.name,
+ failf(data, "Could not resolve host: %s (%s)", conn->host.dispname,
ares_strerror(conn->async.status));
rc = CURLE_COULDNT_RESOLVE_HOST;
}
Received on 2004-05-07