]> git.sur5r.net Git - openldap/commitdiff
Fix pdn assert
authorKurt Zeilenga <kurt@openldap.org>
Sun, 12 Oct 2003 22:34:14 +0000 (22:34 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 12 Oct 2003 22:34:14 +0000 (22:34 +0000)
servers/slapd/back-ldbm/add.c

index f6c12495cd074a6712fc64c6140eb43db27994c2..2de29e456306bc5a91a2ed023bec74ce2b453fe2 100644 (file)
@@ -232,7 +232,7 @@ ldbm_back_add(
 #endif
 
        } else {
-               assert( pdn.bv_val == NULL || *pdn.bv_val != '\0' );
+               assert( pdn.bv_val == NULL || *pdn.bv_val == '\0' );
 
                if ( !be_isroot( op->o_bd, &op->o_ndn )
                        && !is_entry_glue( op->oq_add.rs_e ))