From ba6e506ed2dc11a54a27574e574fc463d1cb2fa5 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 13 Feb 2001 13:20:37 +0000 Subject: [PATCH] #if not #ifdef ISC_MEM_TRACKLINES --- lib/isc/mem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/isc/mem.c b/lib/isc/mem.c index 81567ee622..a616420806 100644 --- a/lib/isc/mem.c +++ b/lib/isc/mem.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: mem.c,v 1.86 2001/02/13 06:21:32 marka Exp $ */ +/* $Id: mem.c,v 1.87 2001/02/13 13:20:37 marka Exp $ */ #include @@ -926,7 +926,7 @@ isc_mem_destroy(isc_mem_t **ctxp) { REQUIRE(VALID_CONTEXT(ctx)); LOCK(&ctx->lock); -#ifdef ISC_MEM_TRACKLINES +#if ISC_MEM_TRACKLINES if (ctx->references != 1) print_active(ctx, stderr); #endif @@ -1011,7 +1011,7 @@ isc__mem_put(isc_mem_t *ctx, void *ptr, size_t size FLARG) } } -#ifdef ISC_MEM_TRACKLINES +#if ISC_MEM_TRACKLINES static void print_active(isc_mem_t *ctx, FILE *out) { if (isc_mem_debugging > 1) { @@ -1113,7 +1113,7 @@ isc_mem_stats(isc_mem_t *ctx, FILE *out) { pool = ISC_LIST_NEXT(pool, link); } -#ifdef ISC_MEM_TRACKLINES +#if ISC_MEM_TRACKLINES print_active(ctx, out); #endif