projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lua: fix whitespaces and typo
[project/ubus.git]
/
lua
/
ubus.c
diff --git
a/lua/ubus.c
b/lua/ubus.c
index
84ee06b
..
45ea3bb
100644
(file)
--- a/
lua/ubus.c
+++ b/
lua/ubus.c
@@
-19,8
+19,8
@@
#include <lauxlib.h>
#include <lua.h>
#include <lauxlib.h>
#include <lua.h>
-#define MODNAME "ubus"
-#define METANAME MODNAME ".meta"
+#define MODNAME
"ubus"
+#define METANAME MODNAME ".meta"
static lua_State *state;
static lua_State *state;
@@
-417,7
+417,7
@@
static struct ubus_object* ubus_lua_load_object(lua_State *L)
obj->o.type->id = 0;
obj->o.type->methods = obj->o.methods;
obj->o.type->id = 0;
obj->o.type->methods = obj->o.methods;
- /* create the
he
callback lookup table */
+ /* create the callback lookup table */
lua_createtable(L, 1, 0);
lua_getglobal(L, "__ubus_cb");
lua_pushvalue(L, -2);
lua_createtable(L, 1, 0);
lua_getglobal(L, "__ubus_cb");
lua_pushvalue(L, -2);