fix a really stupid bug
authorFelix Fietkau <nbd@openwrt.org>
Thu, 31 Jul 2008 15:49:06 +0000 (17:49 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 31 Jul 2008 15:49:06 +0000 (17:49 +0200)
util.c

diff --git a/util.c b/util.c
index 3358cdf..c0d46a2 100644 (file)
--- a/util.c
+++ b/util.c
@@ -107,6 +107,7 @@ static inline bool uci_validate_text(const char *str)
                if ((*str == '\r') || (*str == '\n') ||
                        ((*str < 32) && (*str != '\t')))
                        return false;
+               str++;
        }
        return true;
 }