httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1654985 - in /httpd/httpd/branches/2.4.x/docs/manual/developer: output-filters.html.en output-filters.xml
Date Tue, 27 Jan 2015 07:22:14 GMT
Author: jailletc36
Date: Tue Jan 27 07:22:13 2015
New Revision: 1654985

URL: http://svn.apache.org/r1654985
Log:
Fix doc as spotted by mebjas.

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/developer/output-filters.html.en
    httpd/httpd/branches/2.4.x/docs/manual/developer/output-filters.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/developer/output-filters.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/developer/output-filters.html.en?rev=1654985&r1=1654984&r2=1654985&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/developer/output-filters.html.en (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/developer/output-filters.html.en Tue Jan 27 07:22:13
2015
@@ -152,7 +152,7 @@
     behaviour (i.e. will crash the process).</p>
 
     <p>There are a variety of functions and macros for traversing and
-    manipulating bucket brigades; see the <a href="http://apr.apache.org/docs/apr-util/trunk/group___a_p_r___util___bucket___brigades.html">apr_bucket.h</a>
+    manipulating bucket brigades; see the <a href="http://apr.apache.org/docs/apr-util/trunk/group___a_p_r___util___bucket___brigades.html">apr_buckets.h</a>
     header for complete coverage.  Commonly used macros include:</p>
 
     <dl>
@@ -254,12 +254,11 @@
 
     <div class="example"><h3>Bad output filter -- do not imitate!</h3><pre
class="prettyprint lang-c">apr_bucket *e = APR_BRIGADE_FIRST(bb);
 const char *data;
-apr_size_t len;
+apr_size_t length;
 
 while (e != APR_BRIGADE_SENTINEL(bb)) {
     apr_bucket_read(e, &amp;data, &amp;length, APR_BLOCK_READ);
     e = APR_BUCKET_NEXT(e);
-
 }
 
 return ap_pass_brigade(bb);</pre>
@@ -277,7 +276,7 @@ return ap_pass_brigade(bb);</pre>
 
     <div class="example"><h3>Better output filter</h3><pre class="prettyprint
lang-c">apr_bucket *e;
 const char *data;
-apr_size_t len;
+apr_size_t length;
 
 while ((e = APR_BRIGADE_FIRST(bb)) != APR_BRIGADE_SENTINEL(bb)) {
    rv = apr_bucket_read(e, &amp;data, &amp;length, APR_BLOCK_READ);

Modified: httpd/httpd/branches/2.4.x/docs/manual/developer/output-filters.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/developer/output-filters.xml?rev=1654985&r1=1654984&r2=1654985&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/developer/output-filters.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/developer/output-filters.xml Tue Jan 27 07:22:13
2015
@@ -147,7 +147,7 @@
 
     <p>There are a variety of functions and macros for traversing and
     manipulating bucket brigades; see the <a
-    href="http://apr.apache.org/docs/apr-util/trunk/group___a_p_r___util___bucket___brigades.html">apr_bucket.h</a>
+    href="http://apr.apache.org/docs/apr-util/trunk/group___a_p_r___util___bucket___brigades.html">apr_buckets.h</a>
     header for complete coverage.  Commonly used macros include:</p>
 
     <dl>
@@ -252,12 +252,11 @@
     <highlight language="c">
 apr_bucket *e = APR_BRIGADE_FIRST(bb);
 const char *data;
-apr_size_t len;
+apr_size_t length;
 
 while (e != APR_BRIGADE_SENTINEL(bb)) {
     apr_bucket_read(e, &amp;data, &amp;length, APR_BLOCK_READ);
     e = APR_BUCKET_NEXT(e);
-
 }
 
 return ap_pass_brigade(bb);
@@ -279,7 +278,7 @@ return ap_pass_brigade(bb);
 <highlight language="c">
 apr_bucket *e;
 const char *data;
-apr_size_t len;
+apr_size_t length;
 
 while ((e = APR_BRIGADE_FIRST(bb)) != APR_BRIGADE_SENTINEL(bb)) {
    rv = apr_bucket_read(e, &amp;data, &amp;length, APR_BLOCK_READ);



Mime
View raw message