diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-02 16:00:31 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-02 16:00:31 +0000 |
commit | 886391d145854fa420847d60cb080f29dd3a5af2 (patch) | |
tree | 88d1efb9db8a2df5ff12dafb83e4e9de28c6c071 | |
parent | 1442fab4b6fadbb81da316b6167e19e9f325252c (diff) |
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.
-rw-r--r-- | lib/hostip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index 015825c92..6c89bd4ae 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -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 |