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

Diff for /src/usr.bin/ftp/cookie.c between version 1.3 and 1.4

version 1.3, 2008/06/25 21:15:19 version 1.4, 2008/12/07 21:12:07
Line 135 
Line 135 
                                  * rely on sizeof(time_t) being 4                                   * rely on sizeof(time_t) being 4
                                  */                                   */
                                 ck->expires = strtonum(param, 0,                                  ck->expires = strtonum(param, 0,
                                     UINT_MAX, &estr);                                      INT_MAX, &estr);
                                 if (estr) {                                  if (estr) {
                                         if (errno == ERANGE)                                          if (errno == ERANGE)
                                                 ck->flags |= F_NOEXPIRY;                                                  ck->flags |= F_NOEXPIRY;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4