]> git.sur5r.net Git - openldap/commitdiff
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 8 Aug 2005 22:25:56 +0000 (22:25 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 8 Aug 2005 22:25:56 +0000 (22:25 +0000)
servers/slapd/repl.c

index e269539f658a777b54325073db147096918d0c24..89319152193e7898077e30b32b9bcb7c06e16286 100644 (file)
@@ -74,7 +74,7 @@ destroy_replica_info(
 {
        int i = 0;
 
-       assert( be );
+       assert( be != NULL );
 
        if ( be->be_replica == NULL ) {
                return 0;