summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.c b/util.c
index 3358cdf..c0d46a2 100644
--- 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;
}