diff --git a/lib/hostip.c b/lib/hostip.c index 750afe8..012b07b 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -1148,8 +1148,7 @@ CURLcode Curl_resolver_error(struct Curl_easy *data) result = CURLE_COULDNT_RESOLVE_HOST; } - failf(data, "Could not resolve %s: %s", host_or_proxy, - data->state.async.hostname); + failf(data, "Could not resolve %s", host_or_proxy); return result; }