ftp: failure to resolve proxy should return that error code

This commit is contained in:
Daniel Stenberg 2016-12-25 10:35:34 +01:00
parent 0bc24d6f9d
commit 9314bf8405

View File

@ -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 {