summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2013-08-02 22:20:48 +0200
committerAnselm R Garbe <anselm@garbe.us>2013-08-02 22:20:48 +0200
commit16c1c2df60735bf2ea3e9f5f1c6a3a1e0dd9f7f3 (patch)
tree6d5d816320fe14babbad5c58141b18bc7330cc1b
parentfe525b32095b1575ddccda34658881262d4c9a1b (diff)
downloadcic-16c1c2df60735bf2ea3e9f5f1c6a3a1e0dd9f7f3.tar.gz
fixed a silly bug, reported by several people, including Mark Edgar
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 26953d0..8afa58f 100644
--- 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;
}