From cedb88c3734368d87d50443cd90e3a0ab1b7fdea Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 1 Nov 2005 13:42:51 +0000 Subject: [PATCH] eat up values of removed attrs --- servers/slapd/back-meta/search.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/back-meta/search.c b/servers/slapd/back-meta/search.c index 7adabf379e..ccd058c2a4 100644 --- a/servers/slapd/back-meta/search.c +++ b/servers/slapd/back-meta/search.c @@ -926,6 +926,7 @@ meta_send_entry( ldap_back_map( &mi->mi_targets[ target ].mt_rwmap.rwm_at, &a, &mapped, BACKLDAP_REMAP ); if ( BER_BVISNULL( &mapped ) || mapped.bv_val[0] == '\0' ) { + ( void )ber_scanf( &ber, "x" /* [W] */ ); continue; } attr = ( Attribute * )ch_calloc( 1, sizeof( Attribute ) ); -- 2.39.5