|
Shouldn't the preproc directives be #if instead of #ifdef?
diff -u -r1.15 apr_buckets_alloc.c
--- srclib/apr-util/buckets/apr_buckets_alloc.c 22 Jun 2004 16:18:20 -0000 1.15 +++ srclib/apr-util/buckets/apr_buckets_alloc.c 10 Aug 2004 20:27:58 -0000 @@ -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); } |
- Re: cvs commit: apr_buckets_alloc.c Jean-Jacques Clar
- Re: cvs commit: apr_buckets_alloc.c Joe Orton
