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;