apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: apr-util/include apr_buckets.h
Date Fri, 10 Aug 2001 21:38:16 GMT
dougm       01/08/10 14:38:16

  Modified:    include  apr_buckets.h
  Log:
  fix logic for APR_BRIGADE_NORMALIZE
  
  Revision  Changes    Path
  1.112     +1 -2      apr-util/include/apr_buckets.h
  
  Index: apr_buckets.h
  ===================================================================
  RCS file: /home/cvs/apr-util/include/apr_buckets.h,v
  retrieving revision 1.111
  retrieving revision 1.112
  diff -u -r1.111 -r1.112
  --- apr_buckets.h	2001/08/10 18:56:07	1.111
  +++ apr_buckets.h	2001/08/10 21:38:16	1.112
  @@ -521,9 +521,8 @@
    */
   #define APR_BRIGADE_NORMALIZE(b)       \
   do { \
  -    apr_bucket *e; \
  +    apr_bucket *e = APR_BRIGADE_FIRST(b); \
       do {  \
  -        e = APR_BRIGADE_FIRST(b); \
           if (e->length == 0) { \
               apr_bucket *d; \
               d = APR_BUCKET_NEXT(e); \
  
  
  

Mime
View raw message