From 530d55cf3b843dee2876a4cc00e133557f0f85c0 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Thu, 16 May 2013 13:11:20 +0000 Subject: [PATCH] Fixed Lua type. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1483343 13f79535-47bb-0310-9956-ffa450edef68 --- modules/lua/lua_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lua/lua_request.c b/modules/lua/lua_request.c index eb5e392a15..b672c2fb9a 100644 --- a/modules/lua/lua_request.c +++ b/modules/lua/lua_request.c @@ -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:{ -- 2.40.0