From fa8c0d8aec975e0248ecdbf74fca47037fa2cb6b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 18 Feb 2021 09:57:30 +0100 Subject: fixup url.c to use a 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 4470581a4..e95612105 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 */ } -- cgit v1.2.1