From: Howard Chu Date: Wed, 7 Apr 2004 16:41:17 +0000 (+0000) Subject: Zero out rs->sr_err before send_search_entry X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~101 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0e2a12142a44850375dc36d0cdb9442e23cf2e03;p=openldap Zero out rs->sr_err before send_search_entry --- diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index 34c4abe7e0..fca2473719 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -1263,6 +1263,7 @@ id2entry_retry: rs->sr_attrs = sop->oq_search.rs_attrs; rs->sr_ctrls = NULL; rs->sr_flags = 0; + rs->sr_err = LDAP_SUCCESS; result = send_search_entry( sop, rs ); } }