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

Diff for /src/usr.bin/ftp/util.c between version 1.16 and 1.17

version 1.16, 1997/11/25 08:10:34 version 1.17, 1998/03/30 06:59:36
Line 57 
Line 57 
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <time.h>  #include <time.h>
   #include <tzfile.h>
 #include <unistd.h>  #include <unistd.h>
   
 #include "ftp_var.h"  #include "ftp_var.h"
Line 564 
Line 565 
                 timebuf.tm_hour = hour;                  timebuf.tm_hour = hour;
                 timebuf.tm_mday = day;                  timebuf.tm_mday = day;
                 timebuf.tm_mon = mo - 1;                  timebuf.tm_mon = mo - 1;
                 timebuf.tm_year = yy - 1900;                  timebuf.tm_year = yy - TM_YEAR_BASE;
                 timebuf.tm_isdst = -1;                  timebuf.tm_isdst = -1;
                 rtime = mktime(&timebuf);                  rtime = mktime(&timebuf);
                 if (rtime == -1 && (noisy || debug != 0))                  if (rtime == -1 && (noisy || debug != 0))

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17