diff options
author | Eric Covener <covener@apache.org> | 2011-11-08 00:25:47 +0000 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2011-11-08 00:25:47 +0000 |
commit | eaffe604d07a2c4b699e82434a79f15fb51130ca (patch) | |
tree | 90c71cdd735c95905bf372f6b5c518d334f99cc8 /modules/lua | |
parent | 4a36c5ba4cf03c721ef8c0ce69f42c2d1fd5648e (diff) | |
download | httpd-eaffe604d07a2c4b699e82434a79f15fb51130ca.tar.gz |
correct return val, the char* is pushed on the lua stack.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1199028 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/lua')
-rw-r--r-- | modules/lua/lua_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lua/lua_request.c b/modules/lua/lua_request.c index a4a3a4ece9..63b6b699bd 100644 --- a/modules/lua/lua_request.c +++ b/modules/lua/lua_request.c @@ -210,7 +210,7 @@ static int req_construct_url(lua_State *L) } /* 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); |