From 3c72b3caf055065189f7c78a798bd1d64bb7e68d Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Mon, 14 Jan 2013 11:37:09 +0000 Subject: [PATCH] mod_lua/dbd: Only 2 arguments are passed, so let's tell Lua to only return 2, not 3. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1432881 13f79535-47bb-0310-9956-ffa450edef68 --- modules/lua/lua_dbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lua/lua_dbd.c b/modules/lua/lua_dbd.c index 7c334d68a2..fc39b488dc 100644 --- a/modules/lua/lua_dbd.c +++ b/modules/lua/lua_dbd.c @@ -809,7 +809,7 @@ AP_LUA_DECLARE(int) lua_db_acquire(lua_State *L) "mod_lua not compatible with APR in get_driver"); } lua_pushinteger(L, rc); - return 3; + return 2; } } -- 2.40.0