mirror of
https://github.com/curl/curl.git
synced 2026-07-12 06:47:16 +03:00
resolve: Mention in error that IP address is expected
If you try using a DNS name like connect-to supports it can be confusing that it is illegal. Also make it a bit more readable Closes #21913
This commit is contained in:
parent
a2b943b115
commit
7b9d74abf6
1 changed files with 1 additions and 1 deletions
|
|
@ -775,7 +775,7 @@ CURLcode Curl_loadhostpairs(struct Curl_easy *data)
|
|||
|
||||
result = Curl_str2addr(address, port, &ai);
|
||||
if(result) {
|
||||
infof(data, "Resolve address '%s' found illegal", address);
|
||||
infof(data, "Resolve IP address '%s' found is illegal", address);
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue