From 4667a44ae66c69f953d10620374aba8a76dde1ac Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 13 Jun 2005 23:57:30 +0000 Subject: [PATCH] Fix typo in prev commit --- servers/slapd/back-bdb/dn2id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/dn2id.c b/servers/slapd/back-bdb/dn2id.c index 5d8644306e..2c2ef30e51 100644 --- a/servers/slapd/back-bdb/dn2id.c +++ b/servers/slapd/back-bdb/dn2id.c @@ -595,7 +595,7 @@ hdb_dn2id_delete( /* Delete our ID from the parent's list */ rc = cursor->c_get( cursor, &key, &data, DB_GET_BOTH_RANGE ); if ( rc == 0 ) { - if ( dlen[1] == d->nrdnlen[1] && dlen[0] != d->nrdnlen[0] && + if ( dlen[1] == d->nrdnlen[1] && dlen[0] == d->nrdnlen[0] && !strcmp( d->nrdn, BEI(e)->bei_nrdn.bv_val )) rc = cursor->c_del( cursor, 0 ); else -- 2.39.5