mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-25 16:22:53 -05:00
preserve objectClasses not to be removed (ITS#5760)
This commit is contained in:
parent
49ed07558b
commit
363f75ca5f
1 changed files with 3 additions and 1 deletions
|
|
@ -1177,7 +1177,9 @@ remove_oc:;
|
|||
last--;
|
||||
bv--;
|
||||
|
||||
} else if ( mapped.bv_val != bv[0].bv_val ) {
|
||||
} else if ( mapped.bv_val != bv[0].bv_val
|
||||
&& ber_bvstrcasecmp( &mapped, &bv[0] ) != 0 )
|
||||
{
|
||||
int i;
|
||||
|
||||
for ( i = 0; !BER_BVISNULL( &(*ap)->a_vals[ i ] ); i++ ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue