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:
e080da8
)
fix invocation of uci.commit(), uci.save() without arguments
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 26 May 2008 13:53:07 +0000
(15:53 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 26 May 2008 13:53:07 +0000
(15:53 +0200)
lua/uci.c
patch
|
blob
|
history
diff --git
a/lua/uci.c
b/lua/uci.c
index ca6f1ad8e98b3ce8985b347d535815da41b61389..988c9b9792942072fa225c1099cb7c0cf4fbd6c7 100644
(file)
--- a/
lua/uci.c
+++ b/
lua/uci.c
@@
-392,6
+392,8
@@
uci_lua_package_cmd(lua_State *L, enum pkg_cmd cmd)
s = lua_tostring(L, -1);
lua_pop(L, 1);
break;
+ case 0:
+ break;
default:
err:
luaL_error(L, "Invalid argument count");