summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-02-18 09:57:30 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-02-18 09:57:30 +0100
commitfa8c0d8aec975e0248ecdbf74fca47037fa2cb6b (patch)
tree4f78b44240dbdcc2abcd3373b854ab26d76051d4
parent5bd1fa8deb30fff1eba045c7c94bc76a449e9287 (diff)
downloadcurl-bagder/test1188-error.tar.gz
fixup url.c to use a consistent error message for failed resolvebagder/test1188-error
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
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 */
}