mirror of
https://github.com/curl/curl.git
synced 2025-03-31 16:00:35 +08:00
url.c: use consistent error message for failed resolve
This commit is contained in:
parent
e72270236c
commit
6174fc993a
@ -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 */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user