From 82def24b31379d4446706622d98d2ad6c05e73d1 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 8 Jun 1999 01:37:47 +0000 Subject: [PATCH] don't test BER_MEM_VALID forever. --- libraries/liblber/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblber/memory.c b/libraries/liblber/memory.c index 30d1e3584c..ac883d3523 100644 --- a/libraries/liblber/memory.c +++ b/libraries/liblber/memory.c @@ -30,7 +30,7 @@ static const struct ber_mem_hdr ber_int_mem_hdr = { BER_MEM_JUNK }; #define BER_MEM_VALID(p) do { \ assert( (p) != BER_MEM_BADADDR ); \ assert( (p) != (void *) &ber_int_mem_hdr ); \ - } while(1) + } while(0) #else #define BER_MEM_VALID(p) /* no-op */ #endif -- 2.39.5