From c19451980063d5630e665a5b3ac79d5832c35f76 Mon Sep 17 00:00:00 2001 From: Brian McCallister Date: Mon, 15 Jun 2009 03:10:06 +0000 Subject: [PATCH] change use of luaL_openlib to luaL_register via path from Arfrever Frehtes Taifersar Arahesis git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@784644 13f79535-47bb-0310-9956-ffa450edef68 --- modules/lua/lua_apr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lua/lua_apr.c b/modules/lua/lua_apr.c index bcedf41ca3..5078be129f 100644 --- a/modules/lua/lua_apr.c +++ b/modules/lua/lua_apr.c @@ -75,7 +75,7 @@ static const luaL_reg lua_table_methods[] = { AP_LUA_DECLARE(int) ap_lua_init(lua_State *L, apr_pool_t *p) { luaL_newmetatable(L, "Apr.Table"); - luaL_register(L, "apr_table", lua_table_methods, 0); + luaL_register(L, "apr_table", lua_table_methods); lua_pushstring(L, "__index"); lua_pushstring(L, "get"); lua_gettable(L, 2); -- 2.40.0