diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-09-29 15:38:34 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-11-16 15:26:13 +0100 |
commit | aec143997b9aba65f7ea702d7cd42b553afe335f (patch) | |
tree | fd1221e2b575746f40ed279488d5cba59e15d543 /lua.c | |
parent | 881d6102cf1f7bc6b54ab395c5e4addbfe1ed34c (diff) |
lua: fix lua 5.2 compatibility
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'lua.c')
-rw-r--r-- | lua.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ static lua_State *uh_lua_state_init(void) lua_State *L; int ret; - L = lua_open(); + L = luaL_newstate(); luaL_openlibs(L); /* build uhttpd api table */ |