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:
a15a9c2
)
make the value of an option optional (found by lubek)
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 4 Feb 2008 21:02:34 +0000
(22:02 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 4 Feb 2008 21:02:34 +0000
(22:02 +0100)
file.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index 169cf6ee7190bffbff69ee24a454238bf6fb9ae3..85959729fe1e2370213b967854a180363901e4f6 100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-373,7
+373,7
@@
static void uci_parse_option(struct uci_context *ctx, char **str)
*str += strlen(*str) + 1;
name = next_arg(ctx, str, true, true);
- value = next_arg(ctx, str,
tru
e, false);
+ value = next_arg(ctx, str,
fals
e, false);
assert_eol(ctx, str);
if (pctx->merge) {