Diff for /servers/slapd/overlays/syncprov.c between versions 1.56.2.38 and 1.56.2.39

version 1.56.2.38, 2006/10/31 18:32:36 version 1.56.2.39, 2006/12/16 00:26:41
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.56.2.37 2006/08/15 19:50:10 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.56.2.38 2006/10/31 18:32:36 hyc Exp $ */
 /* syncprov.c - syncrepl provider */  /* syncprov.c - syncrepl provider */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
Line 2474  syncprov_db_init( Line 2474  syncprov_db_init(
         slap_overinst   *on = (slap_overinst *)be->bd_info;          slap_overinst   *on = (slap_overinst *)be->bd_info;
         syncprov_info_t *si;          syncprov_info_t *si;
   
           if ( SLAP_ISGLOBALOVERLAY( be ) ) {
                   Debug( LDAP_DEBUG_ANY,
                           "syncprov must be instantiated within a database.\n",
                           0, 0, 0 );
                   return 1;
           }
   
         si = ch_calloc(1, sizeof(syncprov_info_t));          si = ch_calloc(1, sizeof(syncprov_info_t));
         on->on_bi.bi_private = si;          on->on_bi.bi_private = si;
         ldap_pvt_thread_mutex_init( &si->si_csn_mutex );          ldap_pvt_thread_mutex_init( &si->si_csn_mutex );

Removed from v.1.56.2.38  
changed lines
  Added in v.1.56.2.39


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