summaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-12-25 10:35:34 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-12-25 10:35:34 +0100
commit9314bf84053bd7ce5106a4e36a64cfb309b64a1a (patch)
treec6b97780fef4df5142ab75cd3f392392f0220c10 /lib/ftp.c
parent0bc24d6f9d15a2cc5898cae4f214487200e78f44 (diff)
downloadcurl-9314bf84053bd7ce5106a4e36a64cfb309b64a1a.tar.gz
ftp: failure to resolve proxy should return that error code
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
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 {