From ad92cae5b9be81c30f25ebc1cd6292b7a40889a9 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 4 Feb 2008 22:02:34 +0100 Subject: [PATCH] make the value of an option optional (found by lubek) --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.11.0