From: Pierangelo Masarati Date: Mon, 3 Apr 2006 00:33:34 +0000 (+0000) Subject: make sure rs->sr_err is fine X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~43 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=070c9d9f07d1cc70960ddea31018020d41f26c86;p=openldap make sure rs->sr_err is fine --- 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 );