]> pilppa.com Git - uci.git/commitdiff
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 3358cdf22edf5e78eb3b271ec3c1e7395437f641..c0d46a21ead6b5abb851abfcd7e9483313c11628 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;
 }