]> granicus.if.org Git - apache/commitdiff
mod_lua/dbd: Only 2 arguments are passed, so let's tell Lua to only return 2, not 3.
authorDaniel Gruno <humbedooh@apache.org>
Mon, 14 Jan 2013 11:37:09 +0000 (11:37 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Mon, 14 Jan 2013 11:37:09 +0000 (11:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1432881 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/lua_dbd.c

index 7c334d68a2d231c17fefe95a07e2dc6097cb736a..fc39b488dc57a2ee71feddea549fd547f16c2afa 100644 (file)
@@ -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;
             }
         }