webcookies: fix typo

This commit is contained in:
cinap_lenrek 2015-08-03 15:52:03 +02:00
parent 9cf59a2c63
commit 887ae1a17b

View file

@ -724,7 +724,7 @@ strtotime(char *s)
tm.hour = strtol(s, 0, 10);
tm.min = strtol(s+3, 0, 10);
tm.sec = strtol(s+6, 0 10);
tm.sec = strtol(s+6, 0, 10);
if(tm.hour >= 24 || tm.min >= 60 || tm.sec >= 60){
if(debug)
fprint(2, "invalid time (%s)\n", os);