Use the new isDigit() function.
authorWayne Davison <wayned@samba.org>
Fri, 10 Nov 2006 05:58:10 +0000 (05:58 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 10 Nov 2006 05:58:10 +0000 (05:58 +0000)
time-limit.diff

index 4658e87..06b5ac5 100644 (file)
@@ -198,13 +198,13 @@ To use this patch, run these commands for a successful build:
 +      } else
 +              in_date = 1;
 +      for ( ; ; cp++) {
-+              if (!isdigit(*cp))
++              if (!isDigit(cp))
 +                      return -1;
 +
 +              n = 0;
 +              do {
 +                      n = n * 10 + *cp++ - '0';
-+              } while (isdigit(*cp));
++              } while (isDigit(cp));
 +
 +              if (*cp == ':')
 +                      in_date = 0;