source: npl/system/netkit-ftp/patches/10-netkit-ftp-0.17-C-Frame121.patch @ b4abfab

perl-5.22
Last change on this file since b4abfab was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 754 bytes
RevLine 
[c5c522c]1--- netkit-ftp-0.17/ftp/ftp.c.rasold    2005-10-26 16:56:09.000000000 +0200
2+++ netkit-ftp-0.17/ftp/ftp.c   2005-10-26 16:56:46.000000000 +0200
3@@ -1253,14 +1253,14 @@
4                switch (data_addr.su_family) {
5                case AF_INET:
6 #if 0
7-                       if (try_epsv) {
8-                               result = command(pasvcmd = "EPSV 1");
9-                               if (code / 10 == 22 && code != 229) {
10-                                       fprintf(stderr,
11-                                 "wrong server: return code must be 229\n");
12-                                       result = COMPLETE + 1;
13-                               }
14-                       } else {
15+/*@*/                  if (try_epsv) {
16+/*@*/                          result = command(pasvcmd = "EPSV 1");
17+/*@*/                          if (code / 10 == 22 && code != 229) {
18+/*@*/                                  fprintf(stderr,
19+/*@*/                            "wrong server: return code must be 229\n");
20+/*@*/                                  result = COMPLETE + 1;
21+/*@*/                          }
22+/*@*/                  } else {
23 #endif
24                        result = COMPLETE + 1;
25 
Note: See TracBrowser for help on using the repository browser.