From bbf80d0f93687b0e0c797ce5762eca2f07fcf867 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 27 Nov 2001 00:50:52 +0000 Subject: commented out the EPSV support --- lib/ftp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ftp.c') 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; -- cgit v1.2.3