mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix typo in prev commit
This commit is contained in:
parent
76556ab693
commit
4667a44ae6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user