projects
/
project
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ead1a3c
)
fix uci.get()
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 27 Aug 2008 20:44:44 +0000
(22:44 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 27 Aug 2008 20:44:44 +0000
(22:44 +0200)
lua/uci.c
patch
|
blob
|
history
diff --git
a/lua/uci.c
b/lua/uci.c
index 2d81a38b98c95375ac8302231d4d865e365a8a47..5d8490c1fa35a5cd2dfb4c55356858ae2a87e116 100644
(file)
--- a/
lua/uci.c
+++ b/
lua/uci.c
@@
-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);