arjitkumar / rpms / ftp

Forked from rpms/ftp 5 years ago
Clone

Blame SOURCES/netkit-ftp-0.17-C-Frame121.patch

09d58c
--- netkit-ftp-0.17/ftp/ftp.c.rasold	2005-10-26 16:56:09.000000000 +0200
09d58c
+++ netkit-ftp-0.17/ftp/ftp.c	2005-10-26 16:56:46.000000000 +0200
09d58c
@@ -1253,14 +1253,14 @@
09d58c
 		switch (data_addr.su_family) {
09d58c
 		case AF_INET:
09d58c
 #if 0
09d58c
-			if (try_epsv) {
09d58c
-				result = command(pasvcmd = "EPSV 1");
09d58c
-				if (code / 10 == 22 && code != 229) {
09d58c
-					fprintf(stderr,
09d58c
-				  "wrong server: return code must be 229\n");
09d58c
-					result = COMPLETE + 1;
09d58c
-				}
09d58c
-			} else {
09d58c
+/*@*/			if (try_epsv) {
09d58c
+/*@*/				result = command(pasvcmd = "EPSV 1");
09d58c
+/*@*/				if (code / 10 == 22 && code != 229) {
09d58c
+/*@*/					fprintf(stderr,
09d58c
+/*@*/				  "wrong server: return code must be 229\n");
09d58c
+/*@*/					result = COMPLETE + 1;
09d58c
+/*@*/				}
09d58c
+/*@*/			} else {
09d58c
 #endif
09d58c
 			result = COMPLETE + 1;
09d58c