adjusted to the modified ares_strerror() function
NOTE that this breaks ares-compatibility, we have now officially taken the turn into the c-ares path. We will now officially depend on c-ares for asynch name resolves.
This commit is contained in:
parent
1442fab4b6
commit
886391d145
@ -539,9 +539,8 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn,
|
||||
rc = CURLE_OPERATION_TIMEDOUT;
|
||||
}
|
||||
else if(conn->async.done) {
|
||||
char **dummy=NULL; /* stupid never-used ares-thing */
|
||||
failf(data, "Could not resolve host: %s (%s)", conn->name,
|
||||
ares_strerror(conn->async.status, dummy));
|
||||
ares_strerror(conn->async.status));
|
||||
rc = CURLE_COULDNT_RESOLVE_HOST;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user