mirror of
https://github.com/apache/httpd.git
synced 2025-08-04 05:42:12 +03:00
Fix comment in mod_lua and docs.
s/addoutputfilter/add_output_filter/ See PR 62359 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1837404 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -643,9 +643,9 @@ end
|
|||||||
</highlight>
|
</highlight>
|
||||||
|
|
||||||
<highlight language="lua">
|
<highlight language="lua">
|
||||||
r:addoutputfilter(name|function) -- add an output filter:
|
r:add_output_filter(filter_name) -- add an output filter:
|
||||||
|
|
||||||
r:addoutputfilter("fooFilter") -- add the fooFilter to the output stream
|
r:add_output_filter("fooFilter") -- add the fooFilter to the output stream
|
||||||
</highlight>
|
</highlight>
|
||||||
|
|
||||||
<highlight language="lua">
|
<highlight language="lua">
|
||||||
|
@@ -490,7 +490,7 @@ static int req_write(lua_State *L)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* r:addoutputfilter(name|function) */
|
/* r:add_output_filter(name) */
|
||||||
static int req_add_output_filter(lua_State *L)
|
static int req_add_output_filter(lua_State *L)
|
||||||
{
|
{
|
||||||
request_rec *r = ap_lua_check_request_rec(L, 1);
|
request_rec *r = ap_lua_check_request_rec(L, 1);
|
||||||
|
Reference in New Issue
Block a user