commit | 9314bf84053bd7ce5106a4e36a64cfb309b64a1a | [log] [tgz] |
---|---|---|
author | Daniel Stenberg <daniel@haxx.se> | Sun Dec 25 10:35:34 2016 +0100 |
committer | Daniel Stenberg <daniel@haxx.se> | Sun Dec 25 10:35:34 2016 +0100 |
tree | c6b97780fef4df5142ab75cd3f392392f0220c10 | |
parent | 0bc24d6f9d15a2cc5898cae4f214487200e78f44 [diff] |
ftp: failure to resolve proxy should return that error code
diff --git a/lib/ftp.c b/lib/ftp.c index fd77a5a..6a094df 100644 --- a/lib/ftp.c +++ b/lib/ftp.c
@@ -2000,7 +2000,7 @@ 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 {