From 64512ad4d73c9dc096917018a443a98f35adab08 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 8 Aug 2005 22:25:56 +0000 Subject: [PATCH] assert expects int. (int) can be 0. Use assert(arg!=0/NULL). --- servers/slapd/repl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/repl.c b/servers/slapd/repl.c index e269539f65..8931915219 100644 --- a/servers/slapd/repl.c +++ b/servers/slapd/repl.c @@ -74,7 +74,7 @@ destroy_replica_info( { int i = 0; - assert( be ); + assert( be != NULL ); if ( be->be_replica == NULL ) { return 0; -- 2.39.5