[dev] A small patch for sic.

From: Mark Edgar <medgar123_AT_gmail.com>
Date: Wed, 20 Feb 2013 11:25:35 +0100

diff --git a/util.c b/util.c
index 26953d0..8afa58f 100644
--- a/util.c
+++ b/util.c
_AT_@ -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;
 }

Hope that's in order! :)

     -Mark
Received on Wed Feb 20 2013 - 11:25:35 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 21 2013 - 19:24:56 CET