Diff for /servers/slapd/back-ldap/chain.c between versions 1.70 and 1.71

version 1.70, 2008/10/12 18:20:46 version 1.71, 2008/10/16 22:06:12
Line 1 Line 1
 /* chain.c - chain LDAP operations */  /* chain.c - chain LDAP operations */
 /* $OpenLDAP: pkg/ldap/servers/slapd/back-ldap/chain.c,v 1.69 2008/01/07 23:20:11 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-ldap/chain.c,v 1.70 2008/10/12 18:20:46 ando Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2003-2008 The OpenLDAP Foundation.   * Copyright 2003-2008 The OpenLDAP Foundation.
Line 597  ldap_chain_search( Line 597  ldap_chain_search(
         struct berval   odn = op->o_req_dn,          struct berval   odn = op->o_req_dn,
                         ondn = op->o_req_ndn;                          ondn = op->o_req_ndn;
         slap_response   *save_response = op->o_callback->sc_response;          slap_response   *save_response = op->o_callback->sc_response;
           Entry           *save_entry = rs->sr_entry;
           slap_mask_t     save_flags = rs->sr_flags;
   
         int             rc = LDAP_OTHER,          int             rc = LDAP_OTHER,
                         first_rc = -1;                          first_rc = -1;
Line 761  further_cleanup:; Line 763  further_cleanup:;
         op->o_req_ndn = ondn;          op->o_req_ndn = ondn;
         op->o_callback->sc_response = save_response;          op->o_callback->sc_response = save_response;
         rs->sr_type = REP_SEARCHREF;          rs->sr_type = REP_SEARCHREF;
         rs->sr_entry = NULL;          rs->sr_entry = save_entry;
           rs->sr_flags = save_flags;
   
         if ( rc != LDAP_SUCCESS ) {          if ( rc != LDAP_SUCCESS ) {
                 /* couldn't chase any of the referrals */                  /* couldn't chase any of the referrals */

Removed from v.1.70  
changed lines
  Added in v.1.71


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org