commented out the EPSV support
authorDaniel Stenberg <daniel@haxx.se>
Tue, 27 Nov 2001 00:50:52 +0000 (00:50 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 27 Nov 2001 00:50:52 +0000 (00:50 +0000)
lib/ftp.c

index 066ab74..a49ff0c 100644 (file)
--- 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;