lua: fix whitespaces and typo
Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
parent
29d7092252
commit
b356773921
1 changed files with 3 additions and 3 deletions
|
@ -417,7 +417,7 @@ static struct ubus_object* ubus_lua_load_object(lua_State *L)
|
||||||
obj->o.type->id = 0;
|
obj->o.type->id = 0;
|
||||||
obj->o.type->methods = obj->o.methods;
|
obj->o.type->methods = obj->o.methods;
|
||||||
|
|
||||||
/* create the he callback lookup table */
|
/* create the callback lookup table */
|
||||||
lua_createtable(L, 1, 0);
|
lua_createtable(L, 1, 0);
|
||||||
lua_getglobal(L, "__ubus_cb");
|
lua_getglobal(L, "__ubus_cb");
|
||||||
lua_pushvalue(L, -2);
|
lua_pushvalue(L, -2);
|
||||||
|
|
Loading…
Reference in a new issue