apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject cvs commit: apr-util/buckets apr_buckets_alloc.c
Date Tue, 10 Aug 2004 22:00:16 GMT
clar        2004/08/10 15:00:16

  Modified:    buckets  apr_buckets_alloc.c
  Log:
  fix preproc directive for APR_POOL_DEBUG
  
  Revision  Changes    Path
  1.16      +2 -2      apr-util/buckets/apr_buckets_alloc.c
  
  Index: apr_buckets_alloc.c
  ===================================================================
  RCS file: /home/cvs/apr-util/buckets/apr_buckets_alloc.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- apr_buckets_alloc.c	22 Jun 2004 16:18:20 -0000	1.15
  +++ apr_buckets_alloc.c	10 Aug 2004 22:00:16 -0000	1.16
  @@ -53,7 +53,7 @@
       apr_allocator_t *allocator = apr_pool_allocator_get(p);
       apr_bucket_alloc_t *list;
   
  -#ifdef APR_POOL_DEBUG
  +#if APR_POOL_DEBUG
       /* may be NULL for debug mode. */
       if (allocator == NULL) {
           if (apr_allocator_create(&allocator) != APR_SUCCESS) {
  @@ -95,7 +95,7 @@
   
       apr_allocator_free(list->allocator, list->blocks);
   
  -#ifdef APR_POOL_DEBUG
  +#if APR_POOL_DEBUG
       if (list->pool && list->allocator != apr_pool_allocator_get(list->pool))
{
           apr_allocator_destroy(list->allocator);
       }
  
  
  

Mime
View raw message