source:
npl/system/netkit-ftp/patches/10-netkit-ftp-0.17-C-Frame121.patch
@
66e7a2c
Last change on this file since 66e7a2c was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 754 bytes |
-
netkit-ftp-0.17/ftp/ftp.c
old new 1253 1253 switch (data_addr.su_family) { 1254 1254 case AF_INET: 1255 1255 #if 0 1256 if (try_epsv) {1257 result = command(pasvcmd = "EPSV 1");1258 if (code / 10 == 22 && code != 229) {1259 fprintf(stderr,1260 "wrong server: return code must be 229\n");1261 result = COMPLETE + 1;1262 }1263 } else {1256 /*@*/ if (try_epsv) { 1257 /*@*/ result = command(pasvcmd = "EPSV 1"); 1258 /*@*/ if (code / 10 == 22 && code != 229) { 1259 /*@*/ fprintf(stderr, 1260 /*@*/ "wrong server: return code must be 229\n"); 1261 /*@*/ result = COMPLETE + 1; 1262 /*@*/ } 1263 /*@*/ } else { 1264 1264 #endif 1265 1265 result = COMPLETE + 1; 1266 1266
Note: See TracBrowser
for help on using the repository browser.