shithub: riscv

Download patch

ref: 887ae1a17b54babf6a0946872bf6faaac1427be1
parent: 9cf59a2c63ca07c7aaf661e2996d4a591a4c24f9
author: cinap_lenrek <[email protected]>
date: Mon Aug 3 11:52:03 EDT 2015

webcookies: fix typo

--- a/sys/src/cmd/webcookies.c
+++ b/sys/src/cmd/webcookies.c
@@ -724,7 +724,7 @@
 
 	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);