]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorPierangelo Masarati <ando@openldap.org>
Mon, 5 Dec 2005 15:21:49 +0000 (15:21 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 5 Dec 2005 15:21:49 +0000 (15:21 +0000)
servers/slapd/back-meta/bind.c

index ccd2a6c27583bb1f16e32d113ef723aa2c9eb3e2..b300e745a4a23d8f35758203f850b29c5f218e9d 100644 (file)
@@ -186,10 +186,8 @@ meta_back_bind( Operation *op, SlapReply *rs )
                lerr = meta_back_single_bind( &op2, rs, mc, i, massage );
 
                if ( lerr != LDAP_SUCCESS ) {
-                       rs->sr_err = lerr;
+                       rc = rs->sr_err = lerr;
                        candidates[ i ].sr_tag = META_NOT_CANDIDATE;
-
-                       rc = rs->sr_err;
                        break;
                }
        }