From: Christophe Jaillet Date: Sat, 4 Aug 2018 08:09:54 +0000 (+0000) Subject: Fix comment in mod_lua and docs. X-Git-Tag: 2.4.35~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00cbe94e09b29ed7bc55292e0e7d961879626a3d;p=apache 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 --- 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 -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 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);