You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jw...@apache.org on 2002/02/04 05:55:10 UTC
cvs commit: apr-util/include apr_buckets.h
jwoolley 02/02/03 20:55:10
Modified: include apr_buckets.h
Log:
Clarify the documentation for apr_brigade_length(), as I'd forgotten that
read_all==0 could allow -1 to be returned.
Revision Changes Path
1.126 +2 -1 apr-util/include/apr_buckets.h
Index: apr_buckets.h
===================================================================
RCS file: /home/cvs/apr-util/include/apr_buckets.h,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -d -u -r1.125 -r1.126
--- apr_buckets.h 23 Jan 2002 18:46:36 -0000 1.125
+++ apr_buckets.h 4 Feb 2002 04:55:10 -0000 1.126
@@ -682,7 +682,8 @@
* Return the total length of the brigade.
* @param bb The brigade to compute the length of
* @param read_all Read unknown-length buckets to force a size
- * @param length Set to length of the brigade, or -1 if it has unknown-length buckets
+ * @param length Returns the length of the brigade, or -1 if the brigade has
+ * buckets of indeterminate length and read_all is 0.
*/
APU_DECLARE(apr_status_t) apr_brigade_length(apr_bucket_brigade *bb,
int read_all,