mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
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
This commit is contained in:
@@ -210,7 +210,7 @@ static int req_construct_url(lua_State *L)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* wrap ap_escape_html r:escape_html(String) */
|
/* 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);
|
request_rec *r = ap_lua_check_request_rec(L, 1);
|
||||||
const char *s = luaL_checkstring(L, 2);
|
const char *s = luaL_checkstring(L, 2);
|
||||||
|
Reference in New Issue
Block a user