[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.110 and 1.111

version 1.110, 2013/10/27 18:31:24 version 1.111, 2013/11/13 20:41:10
Line 813 
Line 813 
                 if (strncasecmp(cp, CONTENTLEN, sizeof(CONTENTLEN) - 1) == 0) {                  if (strncasecmp(cp, CONTENTLEN, sizeof(CONTENTLEN) - 1) == 0) {
                         size_t s;                          size_t s;
                         cp += sizeof(CONTENTLEN) - 1;                          cp += sizeof(CONTENTLEN) - 1;
                         if (s=strcspn(cp, " \t"))                          if ((s = strcspn(cp, " \t")))
                                 *(cp+s) = 0;                                  *(cp+s) = 0;
                         filesize = strtonum(cp, 0, LLONG_MAX, &errstr);                          filesize = strtonum(cp, 0, LLONG_MAX, &errstr);
                         if (errstr != NULL)                          if (errstr != NULL)

Legend:
Removed from v.1.110  
changed lines
  Added in v.1.111