From: Christophe Jaillet Date: Thu, 9 May 2019 20:12:09 +0000 (+0000) Subject: Fix a typo spotted by Ioannis Cherouvim (PR 63414) X-Git-Tag: 2.4.40~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f4495f33abbc316a17629440accae947520639b;p=thirdparty%2Fapache%2Fhttpd.git Fix a typo spotted by Ioannis Cherouvim (PR 63414) (r1859038 in trunk ) + some trailing spaces removed to synch with trunk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1859039 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/developer/output-filters.xml b/docs/manual/developer/output-filters.xml index 482712e1866..f7a55474231 100644 --- a/docs/manual/developer/output-filters.xml +++ b/docs/manual/developer/output-filters.xml @@ -319,10 +319,10 @@ struct dummy_state { apr_status_t dummy_filter(ap_filter_t *f, apr_bucket_brigade *bb) { struct dummy_state *state; - + state = f->ctx; if (state == NULL) { - + /* First invocation for this response: initialise state structure. */ f->ctx = state = apr_palloc(f->r->pool, sizeof *state); @@ -562,7 +562,7 @@ chunk_size = (speed / (1000 / RATE_INTERVAL_MS));

The commit linked in the beginning of the section contains also a bit of code refactoring so it is not trivial to read during the first pass, but the overall idea is basically what written up to now. The goal of this section is not to - cause an headache to the reader trying to read C code, but to put him/her into + cause a headache to the reader trying to read C code, but to put him/her into the right mindset needed to use efficiently the tools offered by the httpd's filter chain toolset.