1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-05 16:55:50 +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:
Christophe Jaillet
2018-08-04 07:47:47 +00:00
parent 7073116d39
commit d844a8e128
2 changed files with 3 additions and 3 deletions

View File

@@ -643,9 +643,9 @@ end
</highlight>
<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 language="lua">

View File

@@ -490,7 +490,7 @@ static int req_write(lua_State *L)
return 1;
}
/* r:addoutputfilter(name|function) */
/* r:add_output_filter(name) */
static int req_add_output_filter(lua_State *L)
{
request_rec *r = ap_lua_check_request_rec(L, 1);