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

Diff for /src/usr.bin/ftp/fetch.c between version 1.214 and 1.215

version 1.214, 2023/03/08 04:43:11 version 1.215, 2023/06/28 11:07:28
Line 984 
Line 984 
                 } else if (strncasecmp(cp, LAST_MODIFIED,                  } else if (strncasecmp(cp, LAST_MODIFIED,
                             sizeof(LAST_MODIFIED) - 1) == 0) {                              sizeof(LAST_MODIFIED) - 1) == 0) {
                         cp += sizeof(LAST_MODIFIED) - 1;                          cp += sizeof(LAST_MODIFIED) - 1;
                           cp += strspn(cp, " \t");
                         cp[strcspn(cp, "\t")] = '\0';                          cp[strcspn(cp, "\t")] = '\0';
                         if (strptime(cp, "%a, %d %h %Y %T %Z", &lmt) == NULL)                          if (strptime(cp, "%a, %d %h %Y %T %Z", &lmt) == NULL)
                                 server_timestamps = 0;                                  server_timestamps = 0;

Legend:
Removed from v.1.214  
changed lines
  Added in v.1.215