]> git.sur5r.net Git - openldap/commitdiff
backout unintended commit commit
authorPierangelo Masarati <ando@openldap.org>
Mon, 12 Apr 2010 00:08:11 +0000 (00:08 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 12 Apr 2010 00:08:11 +0000 (00:08 +0000)
servers/slapd/back-ldap/chain.c

index 9219f33fb71794fa8269c3fb8660586d744fda63..d7d4f64cce5c34e00be5b0054f174e138f064f99 100644 (file)
@@ -854,7 +854,6 @@ ldap_chain_response( Operation *op, SlapReply *rs )
 
        /* we need this to know if back-ldap returned any result */
        lb.lb_lc = lc;
-       sc2.sc_next = sc->sc_next;
        sc2.sc_private = &lb;
        sc2.sc_response = ldap_chain_cb_response;
        op->o_callback = &sc2;
@@ -948,7 +947,6 @@ ldap_chain_response( Operation *op, SlapReply *rs )
 
        case LDAP_SUCCESS:
        case LDAP_REFERRAL:
-               sr_err = rs->sr_err;
                /* slapd-ldap sent response */
                if ( !op->o_abandon && lb.lb_status != LDAP_CH_RES ) {
                        /* FIXME: should we send response? */