projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a few formatting issues
[project/uci.git]
/
util.c
diff --git
a/util.c
b/util.c
index
09f1817
..
f16a378
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-89,12
+89,10
@@
bool uci_validate_text(const char *str)
{
while (*str) {
unsigned char c = *str;
- if (((c < 32) &&
- (c != '\t') &&
- (c != '\n') &&
- (c != '\r'))) {
+
+ if (c < 32 && c != '\t' && c != '\n' && c != '\r')
return false;
- }
+
str++;
}
return true;