Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37871504
en ru br
ALT Linux repos
S:0.18-alt0.pre1.3
5.0: 0.18-alt0.pre1.1
4.1: 0.18-alt0.pre1.0.M41.1
4.0: 0.17-ipl5mdk.1
3.0: 0.17-ipl5mdk

Group :: Networking/File transfer
RPM: ftp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: netkit-ftp-0.17-fedora-C-Frame121.patch
Download


--- netkit-ftp-0.17/ftp/ftp.c.rasold	2005-10-26 16:56:09.000000000 +0200
+++ netkit-ftp-0.17/ftp/ftp.c	2005-10-26 16:56:46.000000000 +0200
@@ -1253,14 +1253,14 @@
 		switch (data_addr.su_family) {
 		case AF_INET:
 #if 0
-			if (try_epsv) {
-				result = command(pasvcmd = "EPSV 1");
-				if (code / 10 == 22 && code != 229) {
-					fprintf(stderr,
-				  "wrong server: return code must be 229\n");
-					result = COMPLETE + 1;
-				}
-			} else {
+/*@*/			if (try_epsv) {
+/*@*/				result = command(pasvcmd = "EPSV 1");
+/*@*/				if (code / 10 == 22 && code != 229) {
+/*@*/					fprintf(stderr,
+/*@*/				  "wrong server: return code must be 229\n");
+/*@*/					result = COMPLETE + 1;
+/*@*/				}
+/*@*/			} else {
 #endif
 			result = COMPLETE + 1;
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin