]> git.sur5r.net Git - openldap/commitdiff
assert(pointer) -> assert(pointer != NULL)
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 9 May 2007 19:10:36 +0000 (19:10 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 9 May 2007 19:10:36 +0000 (19:10 +0000)
servers/slapd/overlays/unique.c

index 5075d20db73a12ddc0f71999bdb835e4164d0114..6852f917d57c919387c8f56966e4ac3609872788 100644 (file)
@@ -692,7 +692,7 @@ unique_cf_uri( ConfigArgs *c )
                         * test024 Will hit this case in such a
                         * situation.
                         */
-                       assert (*domainp);
+                       assert (*domainp != NULL);
 
                        domain = *domainp;
                        *domainp = domain->next;