From: Pierangelo Masarati Date: Mon, 30 May 2005 12:36:21 +0000 (+0000) Subject: do not return spurious result codes X-Git-Tag: OPENLDAP_AC_BP~590 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b30b82a65ad25d738fd4dee3638073ddc8e4ff59;p=openldap do not return spurious result codes --- diff --git a/servers/slapd/result.c b/servers/slapd/result.c index cfa744e4bd..97c5cf3857 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -1401,6 +1401,7 @@ slap_send_search_reference( Operation *op, SlapReply *rs ) goto rel; } + rc = 0; if ( rs->sr_flags & REP_ENTRY_MUSTRELEASE ) { be_entry_release_rw( op, rs->sr_entry, 0 ); rs->sr_flags ^= REP_ENTRY_MUSTRELEASE;