]> git.sur5r.net Git - openldap/commitdiff
suggested change for ITS#3475
authorPierangelo Masarati <ando@openldap.org>
Tue, 11 Jan 2005 00:38:04 +0000 (00:38 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 11 Jan 2005 00:38:04 +0000 (00:38 +0000)
servers/slapd/back-bdb/referral.c

index 3fe4e34605940274f5fc7cede989856ab44a3753..c52288bc2615fdb4a545bca6cc5b6af430bfbc22 100644 (file)
@@ -103,7 +103,7 @@ dn2entry_retry:
 
                if( rs->sr_ref != NULL ) {
                        /* send referrals */
-                       rs->sr_err = LDAP_REFERRAL;
+                       rc = rs->sr_err = LDAP_REFERRAL;
                        send_ldap_result( op, rs );
                        ber_bvarray_free( rs->sr_ref );
                        rs->sr_ref = NULL;