Rev 8255 | Rev 11124 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8255 | Rev 8899 | ||
---|---|---|---|
Line 52... | Line 52... | ||
52 | hr=atoi(p+9); |
52 | hr=atoi(p+9); |
53 | if(sec<0 || min<0 || hr<0 || sec>59 || min>59 || hr>23) return -1; |
53 | if(sec<0 || min<0 || hr<0 || sec>59 || min>59 || hr>23) return -1; |
54 | return hr*3600+min*60+sec; |
54 | return hr*3600+min*60+sec; |
55 | } |
55 | } |
56 | 56 | ||
- | 57 | static |
|
57 | void oneline(char *p, char *typ) |
58 | void oneline(char *p, char *typ) |
58 | { |
59 | { |
59 | int i, sh, ex, t; |
60 | int i, sh, ex, t; |
60 | char *data[64]; |
61 | char *data[64]; |
61 | statexodata *tab; |
62 | statexodata *tab; |