diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2018-08-04 08:09:54 +0000 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2018-08-04 08:09:54 +0000 |
commit | 00cbe94e09b29ed7bc55292e0e7d961879626a3d (patch) | |
tree | 6903c462c577ffd1137940a15b3fca67b8a76b37 | |
parent | 1e64e9f7b993abd8997a9a1f818131b1f2424d50 (diff) | |
download | httpd-00cbe94e09b29ed7bc55292e0e7d961879626a3d.tar.gz |
Fix comment in mod_lua and docs.
s/addoutputfilter/add_output_filter/
See PR 62359
(r1837404 on trunk)
Note: .c file is patch without any vote because it is only a comment in order to be consistent with the doc and the code, and mod_lua is marked as experimental.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1837405 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | docs/manual/mod/mod_lua.xml | 4 | ||||
-rw-r--r-- | modules/lua/lua_request.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml index 5ff9c11a9b..8a647a5764 100644 --- a/docs/manual/mod/mod_lua.xml +++ b/docs/manual/mod/mod_lua.xml @@ -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"> diff --git a/modules/lua/lua_request.c b/modules/lua/lua_request.c index f9f9ae640a..3e1d2ed804 100644 --- a/modules/lua/lua_request.c +++ b/modules/lua/lua_request.c @@ -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); |