From: Howard Chu Date: Thu, 6 Dec 2001 03:29:23 +0000 (+0000) Subject: Fix previous commit X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~752 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6a5a30ec3484d74d79138a1859e846b6e6a30496;p=openldap Fix previous commit --- diff --git a/servers/slapd/back-bdb/tools.c b/servers/slapd/back-bdb/tools.c index 5e58904da5..b85862e5fd 100644 --- a/servers/slapd/back-bdb/tools.c +++ b/servers/slapd/back-bdb/tools.c @@ -142,7 +142,7 @@ ID bdb_tool_entry_put( /* add dn2id indices */ pdn = dn_parent( be, e->e_ndn ); - rc = bdb_dn2id_add( be, tid, e->e_ndn, e->e_id ); + rc = bdb_dn2id_add( be, tid, pdn, e ); if( pdn ) free( pdn ); if( rc != 0 ) { Debug( LDAP_DEBUG_ANY,