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

Diff for /src/usr.bin/leave/leave.c between version 1.12 and 1.13

version 1.12, 2009/10/27 23:59:39 version 1.13, 2013/11/26 13:19:07
Line 83 
Line 83 
         }          }
   
         for (hours = 0; (c = *cp) && c != '\n'; ++cp) {          for (hours = 0; (c = *cp) && c != '\n'; ++cp) {
                 if (!isdigit(c))                  if (!isdigit((unsigned char)c))
                         usage();                          usage();
                 hours = hours * 10 + (c - '0');                  hours = hours * 10 + (c - '0');
         }          }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13