aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-11-27 00:50:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-11-27 00:50:52 +0000
commitbbf80d0f93687b0e0c797ce5762eca2f07fcf867 (patch)
treec9d4370c034aa8253ed223a434fd00d89267fc47 /lib/ftp.c
parent6003f24f78ddecd93bc68ad945d28ff0007dc57e (diff)
commented out the EPSV support
Diffstat (limited to 'lib/ftp.c')
-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;