diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-08-27 22:44:44 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-08-27 22:44:44 +0200 |
commit | 793be3e2557cef8e651e482ac4a865b2a8e00599 (patch) | |
tree | 1b52011dce410f08049bc47f6fe69662a483efb5 | |
parent | ead1a3c6b0e27a33ee071e1e0736d440d0fa2740 (diff) | |
download | uci-793be3e2557cef8e651e482ac4a865b2a8e00599.tar.gz |
fix uci.get()
-rw-r--r-- | lua/uci.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -343,6 +343,9 @@ uci_lua_get_any(lua_State *L, bool all) err = UCI_ERR_INVAL; goto error; } + if (!err) + return 1; + error: if (s) free(s); |