shithub: riscv

Download patch

ref: 68aa4d5254c8e68171b19887dc39d8ca5f52d854
parent: 17abfa51ca4a34d6320d8d605ad4002990fd2f10
author: Ori Bernstein <[email protected]>
date: Wed Aug 26 08:12:44 EDT 2020

tmparse: fix typo

--- a/sys/src/libc/port/date.c
+++ b/sys/src/libc/port/date.c
@@ -634,8 +634,8 @@
 	}
 
 	/* Skip whitespace */
-	for(;; p++) {
-		switch(*p) {
+	for(;; s++) {
+		switch(*s) {
 		case ' ':
 		case '\t':
 		case '\n':