]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
url.c: use consistent error message for failed resolve
authorDaniel Stenberg <daniel@haxx.se>
Thu, 18 Feb 2021 08:57:30 +0000 (09:57 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 18 Feb 2021 10:10:36 +0000 (11:10 +0100)
lib/url.c

index 4470581a479d98d7902709a2fcf36e43670e45ac..e956121054148a0e6d7cff5ea3d6106792ea0479 100644 (file)
--- 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 */
       }