httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject svn commit: r784644 - /httpd/httpd/trunk/modules/lua/lua_apr.c
Date Mon, 15 Jun 2009 03:10:06 GMT
Author: brianm
Date: Mon Jun 15 03:10:06 2009
New Revision: 784644

URL: http://svn.apache.org/viewvc?rev=784644&view=rev
Log:
change use of luaL_openlib to luaL_register via path from Arfrever Frehtes Taifersar Arahesis

Modified:
    httpd/httpd/trunk/modules/lua/lua_apr.c

Modified: httpd/httpd/trunk/modules/lua/lua_apr.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_apr.c?rev=784644&r1=784643&r2=784644&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_apr.c (original)
+++ httpd/httpd/trunk/modules/lua/lua_apr.c Mon Jun 15 03:10:06 2009
@@ -75,7 +75,7 @@
 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);



Mime
View raw message