1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-05 16:55:50 +03:00

Fix new compilation breakage in mod_lua.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1800830 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Rainer Jung
2017-07-04 21:48:41 +00:00
parent 4b3557a8e9
commit fe1923bb91
3 changed files with 10 additions and 12 deletions

View File

@@ -265,13 +265,13 @@ void ap_lua_load_config_lmodule(lua_State *L)
lua_pushvalue(L, -1);
lua_setfield(L, -2, "__index");
luaL_setfuncs(L, cfg_methods); /* [metatable] */
luaL_setfuncs_compat(L, cfg_methods); /* [metatable] */
luaL_newmetatable(L, "Apache2.CommandParameters");
lua_pushvalue(L, -1);
lua_setfield(L, -2, "__index");
luaL_setfuncs(L, cmd_methods); /* [metatable] */
luaL_setfuncs_compat(L, cmd_methods); /* [metatable] */
}