Bell 32V development
[unix-history] / usr / src / cmd / cron.c
index eda9e9c..b10c8b3 100644 (file)
@@ -7,11 +7,11 @@
 
 #define        LISTS   512
 
 
 #define        LISTS   512
 
-#define        EXACT   100
-#define        ANY     101
-#define        LIST    102
-#define        RANGE   103
-#define        EOS     104
+#define        EXACT   0
+#define        ANY     1
+#define        LIST    2
+#define        RANGE   3
+#define        EOS     4
 char   crontab[]       = "/usr/lib/crontab";
 time_t itime;
 struct tm *loct;
 char   crontab[]       = "/usr/lib/crontab";
 time_t itime;
 struct tm *loct;
@@ -246,7 +246,7 @@ register c;
                c = getchar();
        }
        ungetc(c, stdin);
                c = getchar();
        }
        ungetc(c, stdin);
-       if (n>=100)
+       if (n>100)
                return(-1);
        return(n);
 }
                return(-1);
        return(n);
 }