X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuhttpd.git;a=blobdiff_plain;f=lua.c;h=aa27ec0837f40e2e9c714acdb02fb51562000fb8;hp=55efaaa92c979c24c4c151e13854812d9530a7f7;hb=d6366570bf706f3970b7f106a1ccd49b584559cf;hpb=9d0b3de603b0ed965c1ec40433b9bf89918f67b8 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 */