Diff for /servers/slapd/overlays/syncprov.c between versions 1.296 and 1.297

version 1.296, 2009/11/14 20:53:06 version 1.297, 2009/11/15 09:38:13
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.295 2009/11/14 08:35:23 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.296 2009/11/14 20:53:06 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 2893  syncprov_db_open( Line 2893  syncprov_db_open(
         }          }
   
         thrctx = ldap_pvt_thread_pool_context();          thrctx = ldap_pvt_thread_pool_context();
         connection_fake_init( &conn, &opbuf, thrctx );          connection_fake_init2( &conn, &opbuf, thrctx, 0 );
         op = &opbuf.ob_op;          op = &opbuf.ob_op;
         op->o_bd = be;          op->o_bd = be;
         op->o_dn = be->be_rootdn;          op->o_dn = be->be_rootdn;
Line 2978  syncprov_db_close( Line 2978  syncprov_db_close(
                 void *thrctx;                  void *thrctx;
   
                 thrctx = ldap_pvt_thread_pool_context();                  thrctx = ldap_pvt_thread_pool_context();
                 connection_fake_init( &conn, &opbuf, thrctx );                  connection_fake_init2( &conn, &opbuf, thrctx, 0 );
                 op = &opbuf.ob_op;                  op = &opbuf.ob_op;
                 op->o_bd = be;                  op->o_bd = be;
                 op->o_dn = be->be_rootdn;                  op->o_dn = be->be_rootdn;

Removed from v.1.296  
changed lines
  Added in v.1.297


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