relay: do forward data if the http request type was HEAD
[project/uhttpd.git] / lua.c
diff --git a/lua.c b/lua.c
index 55efaaa..aa27ec0 100644 (file)
--- 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 */