From aec143997b9aba65f7ea702d7cd42b553afe335f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 29 Sep 2013 15:38:34 +0200 Subject: [PATCH] lua: fix lua 5.2 compatibility Signed-off-by: Felix Fietkau --- lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua.c b/lua.c index 55efaaa..aa27ec0 100644 --- a/lua.c +++ b/lua.c @@ -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 */ -- 2.25.1