httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1432881 - /httpd/httpd/trunk/modules/lua/lua_dbd.c
Date Mon, 14 Jan 2013 11:37:10 GMT
Author: humbedooh
Date: Mon Jan 14 11:37:09 2013
New Revision: 1432881

URL: http://svn.apache.org/viewvc?rev=1432881&view=rev
Log:
mod_lua/dbd: Only 2 arguments are passed, so let's tell Lua to only return 2, not 3.

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

Modified: httpd/httpd/trunk/modules/lua/lua_dbd.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_dbd.c?rev=1432881&r1=1432880&r2=1432881&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_dbd.c (original)
+++ httpd/httpd/trunk/modules/lua/lua_dbd.c Mon Jan 14 11:37:09 2013
@@ -809,7 +809,7 @@ AP_LUA_DECLARE(int) lua_db_acquire(lua_S
                                 "mod_lua not compatible with APR in get_driver");
                 }
                 lua_pushinteger(L, rc);
-                return 3;
+                return 2;
             }
         }
 



Mime
View raw message