Fix typo in prev commit

This commit is contained in:
Howard Chu 2005-06-13 23:57:30 +00:00
parent 76556ab693
commit 4667a44ae6

View File

@ -595,7 +595,7 @@ hdb_dn2id_delete(
/* Delete our ID from the parent's list */ /* Delete our ID from the parent's list */
rc = cursor->c_get( cursor, &key, &data, DB_GET_BOTH_RANGE ); rc = cursor->c_get( cursor, &key, &data, DB_GET_BOTH_RANGE );
if ( rc == 0 ) { 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 )) !strcmp( d->nrdn, BEI(e)->bei_nrdn.bv_val ))
rc = cursor->c_del( cursor, 0 ); rc = cursor->c_del( cursor, 0 );
else else