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 {