From 887ae1a17b54babf6a0946872bf6faaac1427be1 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 3 Aug 2015 15:52:03 +0200 Subject: webcookies: fix typo --- sys/src/cmd/webcookies.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/webcookies.c b/sys/src/cmd/webcookies.c index 16283ff1b..d95b9d41d 100644 --- a/sys/src/cmd/webcookies.c +++ b/sys/src/cmd/webcookies.c @@ -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); -- cgit v1.2.3