From: Felix Fietkau Date: Mon, 4 Feb 2008 21:02:34 +0000 (+0100) Subject: make the value of an option optional (found by lubek) X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ad92cae5b9be81c30f25ebc1cd6292b7a40889a9;p=uci.git make the value of an option optional (found by lubek) --- diff --git a/file.c b/file.c index 169cf6e..8595972 100644 --- 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, true, false); + value = next_arg(ctx, str, false, false); assert_eol(ctx, str); if (pctx->merge) {