fix minor bug in config file parser
parent
158f83dc96
commit
4da1c193dc
|
@ -293,7 +293,7 @@ int config_save(config_t config)
|
|||
for (j = 0; j < section->items.num; j++) {
|
||||
struct config_item *item = darray_item(
|
||||
sizeof(struct config_item),
|
||||
§ion->items, i);
|
||||
§ion->items, j);
|
||||
|
||||
dstr_cat(&str, item->name);
|
||||
dstr_cat(&str, "=");
|
||||
|
|
Loading…
Reference in New Issue