13 lines
345 B
Plaintext
13 lines
345 B
Plaintext
$OpenBSD: patch-util_c,v 1.1 2013/10/19 09:49:51 jung Exp $
|
|
--- util.c.orig Thu Oct 17 17:22:17 2013
|
|
+++ util.c Thu Oct 17 17:22:46 2013
|
|
@@ -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;
|
|
}
|