Skip to content
Snippets Groups Projects
Commit 886391d1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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.
parent 1442fab4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment