From: Howard Chu Date: Sat, 12 Jun 2004 05:29:07 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~289 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b24ae9a125458ab190111ab5bf59920b8aeed3b;p=openldap Fix prev commit --- diff --git a/servers/slapd/back-bdb/add.c b/servers/slapd/back-bdb/add.c index 1b074f5745..22da9a6a37 100644 --- a/servers/slapd/back-bdb/add.c +++ b/servers/slapd/back-bdb/add.c @@ -381,7 +381,7 @@ retry: /* transaction retry */ } /* This is the first add to a root DB, need to make the suffix glue */ - if ( pdn.bv_len == 0 && ei->bei_id == 0 ) { + if ( op->o_bd->be_nsuffix[0].bv_len == 0 && ei->bei_id == 0 ) { Entry e_root = {0}; e_root.e_name.bv_val = ""; e_root.e_nname.bv_val = "";