Diff for /servers/slapd/back-ldap/chain.c between versions 1.12.2.12 and 1.12.2.13

version 1.12.2.12, 2005/11/14 18:06:12 version 1.12.2.13, 2005/11/17 20:29:42
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.33 2005/11/04 00:42:11 ando Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-ldap/chain.c,v 1.34 2005/11/16 13:17:19 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-2005 The OpenLDAP Foundation.   * Copyright 2003-2005 The OpenLDAP Foundation.
Line 368  ldap_chain_response( Operation *op, Slap Line 368  ldap_chain_response( Operation *op, Slap
                         sc2 = { 0 };                          sc2 = { 0 };
         int             rc = 0;          int             rc = 0;
         int             cache = op->o_do_not_cache;          int             cache = op->o_do_not_cache;
           char            *matched;
         BerVarray       ref;          BerVarray       ref;
         struct berval   ndn = op->o_ndn;          struct berval   ndn = op->o_ndn;
   
Line 423  ldap_chain_response( Operation *op, Slap Line 424  ldap_chain_response( Operation *op, Slap
          *   e) what ssf           *   e) what ssf
          */           */
   
           matched = rs->sr_matched;
           rs->sr_matched = NULL;
         ref = rs->sr_ref;          ref = rs->sr_ref;
         rs->sr_ref = NULL;          rs->sr_ref = NULL;
   
Line 626  dont_chain:; Line 629  dont_chain:;
         op->o_bd->be_private = private;          op->o_bd->be_private = private;
         op->o_callback = sc;          op->o_callback = sc;
         op->o_ndn = ndn;          op->o_ndn = ndn;
           rs->sr_matched = matched;
         rs->sr_ref = ref;          rs->sr_ref = ref;
   
         ldap_pvt_thread_mutex_unlock( &lc->lc_mutex );          ldap_pvt_thread_mutex_unlock( &lc->lc_mutex );

Removed from v.1.12.2.12  
changed lines
  Added in v.1.12.2.13


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