From: Kurt Zeilenga Date: Sun, 12 Oct 2003 22:34:14 +0000 (+0000) Subject: Fix pdn assert X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~584 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2d910bf1f8cd892da2464f35dcdacfa803dd9227;p=openldap Fix pdn assert --- diff --git a/servers/slapd/back-ldbm/add.c b/servers/slapd/back-ldbm/add.c index f6c12495cd..2de29e4563 100644 --- a/servers/slapd/back-ldbm/add.c +++ b/servers/slapd/back-ldbm/add.c @@ -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 ))