From 9314bf84053bd7ce5106a4e36a64cfb309b64a1a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 25 Dec 2016 10:35:34 +0100 Subject: ftp: failure to resolve proxy should return that error code --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/ftp.c b/lib/ftp.c index fd77a5acd..6a094df08 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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 { -- cgit v1.2.3