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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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