From: Daniel Stenberg Date: Thu, 18 Feb 2021 08:57:30 +0000 (+0100) Subject: url.c: use consistent error message for failed resolve X-Git-Tag: curl-7_76_0~141 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6174fc993aa356fbb52764b273967b53c6e51ea3;p=thirdparty%2Fcurl.git url.c: use consistent error message for failed resolve --- diff --git a/lib/url.c b/lib/url.c index 4470581a47..e956121054 100644 --- a/lib/url.c +++ b/lib/url.c @@ -3344,7 +3344,7 @@ static CURLcode resolve_server(struct Curl_easy *data, result = CURLE_OPERATION_TIMEDOUT; else if(!hostaddr) { - failf(data, "Couldn't resolve host '%s'", connhost->dispname); + failf(data, "Could not resolve host: %s", connhost->dispname); result = CURLE_COULDNT_RESOLVE_HOST; /* don't return yet, we need to clean up the timeout first */ }