From 0e2a12142a44850375dc36d0cdb9442e23cf2e03 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 7 Apr 2004 16:41:17 +0000 Subject: [PATCH] Zero out rs->sr_err before send_search_entry --- servers/slapd/back-bdb/search.c | 1 + 1 file changed, 1 insertion(+) 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 ); } } -- 2.39.5