mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:17:28 +03:00
ftp: failure to resolve proxy should return that error code
This commit is contained in:
parent
0bc24d6f9d
commit
9314bf8405
1 changed files with 1 additions and 1 deletions
|
|
@ -2000,7 +2000,7 @@ static CURLcode ftp_state_pasv_resp(struct connectdata *conn,
|
|||
|
||||
if(!addr) {
|
||||
failf(data, "Can't resolve proxy host %s:%hu", host_name, connectport);
|
||||
return CURLE_FTP_CANT_GET_HOST;
|
||||
return CURLE_COULDNT_RESOLVE_PROXY;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue