From: Daniel Gruno Date: Mon, 14 Jan 2013 11:37:09 +0000 (+0000) Subject: mod_lua/dbd: Only 2 arguments are passed, so let's tell Lua to only return 2, not 3. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84878d4cd51ec955a931aaad58ba4158e0fc6578;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/lua/lua_dbd.c b/modules/lua/lua_dbd.c index 7c334d68a2d..fc39b488dc5 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; } }