]> git.sur5r.net Git - openldap/commitdiff
do not return spurious result codes
authorPierangelo Masarati <ando@openldap.org>
Mon, 30 May 2005 12:36:21 +0000 (12:36 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 30 May 2005 12:36:21 +0000 (12:36 +0000)
servers/slapd/result.c

index cfa744e4bd861d318eb189b57163052021014f49..97c5cf385723a7b4225ce032140c2531bea0ec10 100644 (file)
@@ -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;