commit 16c1c2df60735bf2ea3e9f5f1c6a3a1e0dd9f7f3
parent fe525b32095b1575ddccda34658881262d4c9a1b
Author: Anselm R Garbe <anselm@garbe.us>
Date:   Fri,  2 Aug 2013 22:20:48 +0200
fixed a silly bug, reported by several people, including Mark Edgar
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util.c b/util.c
@@ -49,7 +49,7 @@ strlcpy(char *to, const char *from, int l) {
 
 static char *
 eat(char *s, int (*p)(int), int r) {
-	while(s != '\0' && p(*s) == r)
+	while(*s != '\0' && p(*s) == r)
 		s++;
 	return s;
 }