From 6174fc993aa356fbb52764b273967b53c6e51ea3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 18 Feb 2021 09:57:30 +0100 Subject: [PATCH] url.c: use consistent error message for failed resolve --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ }