projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1188f6a
)
disable EOL check for non-strict mode
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 3 Feb 2008 00:19:26 +0000
(
01:19
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 3 Feb 2008 00:19:26 +0000
(
01:19
+0100)
file.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index 6cc2eae30cf06c6eda5a41750ae9233a58c5085b..a3d08d2679ffe369675b0ec3a288dd4088c051b8 100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-268,7
+268,7
@@
static void assert_eol(struct uci_context *ctx, char **str)
char *tmp;
tmp = next_arg(ctx, str, false, false);
- if (tmp && *tmp)
+ if (tmp && *tmp
&& (ctx->flags & UCI_FLAG_STRICT)
)
uci_parse_error(ctx, *str, "too many arguments");
}