uci: Fix uci_delete() when ptr->value is empty string
authorKrzysztof Kuźnik <k.kuznik@avsystem.com>
Thu, 28 Feb 2013 13:44:00 +0000 (13:44 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 2 May 2013 12:30:31 +0000 (14:30 +0200)
commitb42ee8f21842fab41a4cdf27960000bb1b3f42a7
tree68d42fdf1209a62fe9fd479fb88341c4f1dfbb59
parent07d6fd66f6a20e35490bc8b55d26fdb389016120
uci: Fix uci_delete() when ptr->value is empty string

After fix for deleting list elements by index this function was
broken and didn't allow to invoke from command line:
uci set some.fancy.list=''
i.e. list wasn't cleared

Signed-off-by: Krzysztof Kuźnik <k.kuznik@avsystem.com>
list.c