]> git.sur5r.net Git - openldap/commitdiff
eat up values of removed attrs
authorPierangelo Masarati <ando@openldap.org>
Tue, 1 Nov 2005 13:42:51 +0000 (13:42 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 1 Nov 2005 13:42:51 +0000 (13:42 +0000)
servers/slapd/back-meta/search.c

index 7adabf379e60ba2ffc5684ddf950c378efecec1e..ccd058c2a407377ab97627005558249a652ce9f8 100644 (file)
@@ -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 ) );