New upstream version 21.1.2+dfsg1
This commit is contained in:
parent
baafb6325b
commit
665f64a933
152 changed files with 3957 additions and 356 deletions
|
|
@ -212,8 +212,15 @@ static void config_parse_section(struct config_section *section,
|
|||
strref_clear(&value);
|
||||
config_parse_string(lex, &value, 0);
|
||||
|
||||
if (!strref_is_empty(&value))
|
||||
if (strref_is_empty(&value)) {
|
||||
struct config_item item;
|
||||
item.name = bstrdup_n(name.array, name.len);
|
||||
item.value = bzalloc(1);
|
||||
darray_push_back(sizeof(struct config_item),
|
||||
§ion->items, &item);
|
||||
} else {
|
||||
config_add_item(§ion->items, &name, &value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue