From c0606cdfb7a5111eca97dc7a68e48623cf68b90f Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 17 Mar 2004 09:59:04 +0000 Subject: [PATCH] reset flags (need to check consistence across slapd) --- servers/slapd/back-bdb/search.c | 3 +++ 1 file changed, 3 insertions(+) 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 ); } } -- 2.39.5