mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
ftp: failure to resolve proxy should return that error code
This commit is contained in:
parent
0bc24d6f9d
commit
9314bf8405
@ -2000,7 +2000,7 @@ static CURLcode ftp_state_pasv_resp(struct connectdata *conn,
|
|||||||
|
|
||||||
if(!addr) {
|
if(!addr) {
|
||||||
failf(data, "Can't resolve proxy host %s:%hu", host_name, connectport);
|
failf(data, "Can't resolve proxy host %s:%hu", host_name, connectport);
|
||||||
return CURLE_FTP_CANT_GET_HOST;
|
return CURLE_COULDNT_RESOLVE_PROXY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user