[BACK]Return to ftp.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ftp

Diff for /src/usr.bin/ftp/ftp.c between version 1.41.2.1 and 1.42

version 1.41.2.1, 2002/05/16 21:44:27 version 1.42, 2002/02/16 21:27:46
Line 422 
Line 422 
                         if (dig > 4 && pflag == 1 && isdigit(c))                          if (dig > 4 && pflag == 1 && isdigit(c))
                                 pflag = 2;                                  pflag = 2;
                         if (pflag == 2) {                          if (pflag == 2) {
                                 if (c != '\r' && c != ')') {                                  if (c != '\r' && c != ')')
                                         if (pt < &pasv[sizeof(pasv) - 1])                                          *pt++ = c;
                                                 *pt++ = c;                                  else {
                                 } else {  
                                         *pt = '\0';                                          *pt = '\0';
                                         pflag = 3;                                          pflag = 3;
                                 }                                  }
Line 507 
Line 506 
         struct stat st;          struct stat st;
         int c, d;          int c, d;
         FILE * volatile fin, * volatile dout;          FILE * volatile fin, * volatile dout;
         int (* volatile closefunc) __P((FILE *));          int (* volatile closefunc)(FILE *);
         volatile sig_t oldinti, oldintr, oldintp;          volatile sig_t oldinti, oldintr, oldintp;
         volatile off_t hashbytes;          volatile off_t hashbytes;
         char * volatile lmode;          char * volatile lmode;
Line 800 
Line 799 
         int printnames, ignorespecial;          int printnames, ignorespecial;
 {  {
         FILE * volatile fout, * volatile din;          FILE * volatile fout, * volatile din;
         int (* volatile closefunc) __P((FILE *));          int (* volatile closefunc)(FILE *);
         volatile sig_t oldinti, oldintr, oldintp;          volatile sig_t oldinti, oldintr, oldintp;
         int c, d;          int c, d;
         volatile int is_retr, tcrflag, bare_lfs;          volatile int is_retr, tcrflag, bare_lfs;

Legend:
Removed from v.1.41.2.1  
changed lines
  Added in v.1.42