aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 066ab7460..a49ff0cbe 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1343,8 +1343,8 @@ CURLcode ftp_use_pasv(struct connectdata *conn)
we're already connected to, as then we can skip the name function
call below, in similar style that we do for the EPSV reply */
}
-#if 1
- else if (strcmp(mode[modeoff], "EPSV") == 0) {
+#if 0
+ else if (229 == results[modeoff]) {
char *ptr = strchr(buf, '(');
if(ptr) {
unsigned int num;