httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1483343 - /httpd/httpd/trunk/modules/lua/lua_request.c
Date Thu, 16 May 2013 13:11:20 GMT
Author: fuankg
Date: Thu May 16 13:11:20 2013
New Revision: 1483343

URL: http://svn.apache.org/r1483343
Log:
Fixed Lua type.

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

Modified: httpd/httpd/trunk/modules/lua/lua_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_request.c?rev=1483343&r1=1483342&r2=1483343&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_request.c (original)
+++ httpd/httpd/trunk/modules/lua/lua_request.c Thu May 16 13:11:20 2013
@@ -1629,7 +1629,7 @@ static int req_dispatch(lua_State *L)
                 ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01489)
                               "request_rec->dispatching %s -> int", name);
                 rs = (*func) (r);
-                lua_pushnumber(L, rs);
+                lua_pushinteger(L, rs);
                 return 1;
             }
         case APL_REQ_FUNTYPE_BOOLEAN:{



Mime
View raw message