apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: apr-util/buckets apr_brigade.c
Date Wed, 28 Feb 2001 17:35:43 GMT
jwoolley    01/02/28 09:35:42

  Modified:    buckets  apr_brigade.c
  Log:
  Use apr_bucket_delete() where possible
  
  Revision  Changes    Path
  1.12      +1 -2      apr-util/buckets/apr_brigade.c
  
  Index: apr_brigade.c
  ===================================================================
  RCS file: /home/cvs/apr-util/buckets/apr_brigade.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -d -u -r1.11 -r1.12
  --- apr_brigade.c	2001/02/28 15:19:41	1.11
  +++ apr_brigade.c	2001/02/28 17:35:42	1.12
  @@ -78,8 +78,7 @@
        */
       while (!APR_BRIGADE_EMPTY(b)) {
   	e = APR_BRIGADE_FIRST(b);
  -	APR_BUCKET_REMOVE(e);
  -	apr_bucket_destroy(e);
  +	apr_bucket_delete(e);
       }
       /*
        * We don't need to free(bb) because it's allocated from a pool.
  
  
  

Mime
View raw message