Diff for /servers/slapd/back-ldap/chain.c between versions 1.48 and 1.49

version 1.48, 2006/01/12 21:48:02 version 1.49, 2006/01/13 09:41:54
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.47 2006/01/03 22:12:18 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-ldap/chain.c,v 1.48 2006/01/12 21:48:02 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-2006 The OpenLDAP Foundation.   * Copyright 2003-2006 The OpenLDAP Foundation.
Line 1500  static int Line 1500  static int
 ldap_chain_db_open(  ldap_chain_db_open(
         BackendDB       *be )          BackendDB       *be )
 {  {
           slap_overinst   *on = (slap_overinst *) be->bd_info;
           ldap_chain_t    *lc = (ldap_chain_t *)on->on_bi.bi_private;
   
 #ifdef LDAP_CONTROL_X_CHAINING_BEHAVIOR  #ifdef LDAP_CONTROL_X_CHAINING_BEHAVIOR
         int     rc = 0;          int     rc = 0;
   
Line 1509  ldap_chain_db_open( Line 1512  ldap_chain_db_open(
         }          }
 #endif /* LDAP_CONTROL_X_CHAINING_BEHAVIOR */  #endif /* LDAP_CONTROL_X_CHAINING_BEHAVIOR */
   
           if ( lc->lc_common_li == NULL ) {
                   void    *be_private = be->be_private;
                   ldap_chain_db_init_common( be );
                   lc->lc_common_li = lc->lc_cfg_li = (ldapinfo_t *)be->be_private;
                   be->be_private = be_private;
           }
   
         return ldap_chain_db_func( be, db_open );          return ldap_chain_db_func( be, db_open );
 }  }
   

Removed from v.1.48  
changed lines
  Added in v.1.49


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