preserve objectClasses not to be removed (ITS#5760)

This commit is contained in:
Pierangelo Masarati 2008-10-21 07:56:17 +00:00
parent 49ed07558b
commit 363f75ca5f

View File

@ -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++ ) {