From: Pierangelo Masarati Date: Wed, 17 Mar 2004 09:59:04 +0000 (+0000) Subject: reset flags (need to check consistence across slapd) X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~249 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c0606cdfb7a5111eca97dc7a68e48623cf68b90f;p=openldap reset flags (need to check consistence across slapd) --- diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index c4b1a9185e..1260cf54ab 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -1183,6 +1183,7 @@ id2entry_retry: if ( rs->sr_err != LDAP_SUCCESS ) goto done; rs->sr_attrs = attrs; rs->sr_ctrls = ctrls; + rs->sr_flags = 0; result = send_search_entry( sop, rs ); if ( cookie.bv_val ) ch_free( cookie.bv_val ); sl_free( ctrls[num_ctrls-1]->ldctl_value.bv_val, @@ -1219,6 +1220,7 @@ id2entry_retry: if ( rs->sr_err != LDAP_SUCCESS ) goto done; rs->sr_ctrls = ctrls; rs->sr_attrs = sop->oq_search.rs_attrs; + rs->sr_flags = 0; result = send_search_entry( sop, rs ); sl_free( ctrls[num_ctrls-1]->ldctl_value.bv_val, sop->o_tmpmemctx ); @@ -1258,6 +1260,7 @@ id2entry_retry: } else { rs->sr_attrs = sop->oq_search.rs_attrs; rs->sr_ctrls = NULL; + rs->sr_flags = 0; result = send_search_entry( sop, rs ); } }