uci: clear ptr.value in rpc_uci_merge_set(), this fixes missing delete deltas if multiple options are merged
This commit is contained in:
parent
a23010d407
commit
095b1058c8
1 changed files with 1 additions and 0 deletions
1
uci.c
1
uci.c
|
@ -682,6 +682,7 @@ rpc_uci_merge_set(struct blob_attr *opt, struct uci_ptr *ptr)
|
|||
|
||||
ptr->o = NULL;
|
||||
ptr->option = blobmsg_name(opt);
|
||||
ptr->value = NULL;
|
||||
|
||||
if (rpc_uci_lookup(ptr) || !ptr->s)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue