From 070c9d9f07d1cc70960ddea31018020d41f26c86 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 3 Apr 2006 00:33:34 +0000 Subject: [PATCH] make sure rs->sr_err is fine --- servers/slapd/back-ldap/search.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index 9b2d032796..cdb9c581ee 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -303,6 +303,7 @@ retry: rs->sr_attrs = op->ors_attrs; rs->sr_operational_attrs = NULL; rs->sr_flags = 0; + rs->sr_err = LDAP_SUCCESS; rc = rs->sr_err = send_search_entry( op, rs ); if ( !BER_BVISNULL( &ent.e_name ) ) { assert( ent.e_name.bv_val != bdn.bv_val ); -- 2.39.5