From: Daniel Stenberg Date: Sun, 25 Dec 2016 09:35:34 +0000 (+0100) Subject: ftp: failure to resolve proxy should return that error code X-Git-Tag: curl-7_53_0~145 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9314bf84053bd7ce5106a4e36a64cfb309b64a1a;p=thirdparty%2Fcurl.git ftp: failure to resolve proxy should return that error code --- diff --git a/lib/ftp.c b/lib/ftp.c index fd77a5acd5..6a094df08d 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 {