apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: apr-util/buckets apr_brigade.c
Date Tue, 03 Apr 2001 00:04:35 GMT
stoddard    01/04/02 17:04:35

  Modified:    buckets  apr_brigade.c
  Log:
  Fix windows compile break.
  
  Revision  Changes    Path
  1.14      +6 -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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- apr_brigade.c	2001/04/02 19:02:13	1.13
  +++ apr_brigade.c	2001/04/03 00:04:35	1.14
  @@ -67,6 +67,10 @@
   #include <sys/uio.h>
   #endif
   
  +static apr_status_t brigade_cleanup(void *data) 
  +{
  +    return apr_brigade_cleanup(data);
  +}
   APU_DECLARE(apr_status_t) apr_brigade_cleanup(void *data)
   {
       apr_bucket_brigade *b = data;
  @@ -88,7 +92,7 @@
   
   APU_DECLARE(apr_status_t) apr_brigade_destroy(apr_bucket_brigade *b)
   {
  -    apr_pool_cleanup_kill(b->p, b, apr_brigade_cleanup);
  +    apr_pool_cleanup_kill(b->p, b, brigade_cleanup);
       return apr_brigade_cleanup(b);
   }
   
  @@ -101,7 +105,7 @@
   
       APR_RING_INIT(&b->list, apr_bucket, link);
   
  -    apr_pool_cleanup_register(b->p, b, apr_brigade_cleanup, apr_brigade_cleanup);
  +    apr_pool_cleanup_register(b->p, b, brigade_cleanup, brigade_cleanup);
       return b;
   }
   
  
  
  

Mime
View raw message