httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1199028 - /httpd/httpd/trunk/modules/lua/lua_request.c
Date Tue, 08 Nov 2011 00:25:47 GMT
Author: covener
Date: Tue Nov  8 00:25:47 2011
New Revision: 1199028

URL: http://svn.apache.org/viewvc?rev=1199028&view=rev
Log:
correct return val, the char* is pushed on the lua stack.

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=1199028&r1=1199027&r2=1199028&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_request.c (original)
+++ httpd/httpd/trunk/modules/lua/lua_request.c Tue Nov  8 00:25:47 2011
@@ -210,7 +210,7 @@ static int req_construct_url(lua_State *
 }
 
 /* wrap ap_escape_html r:escape_html(String) */
-static char * req_escape_html(lua_State *L)
+static int req_escape_html(lua_State *L)
 {
     request_rec *r = ap_lua_check_request_rec(L, 1);
     const char *s = luaL_checkstring(L, 2);



Mime
View raw message