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:
Daniel Stenberg 2004-02-02 16:00:31 +00:00
Родитель 1442fab4b6
Коммит 886391d145
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -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