Diff for /servers/slapd/overlays/syncprov.c between versions 1.321 and 1.322

version 1.321, 2010/12/20 09:57:07 version 1.322, 2010/12/30 22:34:56
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.319 2010/11/21 18:00:38 rein Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.321 2010/12/20 09:57:07 hallvard 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 818  syncprov_free_syncop( syncops *so ) Line 818  syncprov_free_syncop( syncops *so )
 static int  static int
 syncprov_sendresp( Operation *op, opcookie *opc, syncops *so, int mode )  syncprov_sendresp( Operation *op, opcookie *opc, syncops *so, int mode )
 {  {
         slap_overinst *on = opc->son;  
   
         SlapReply rs = { REP_SEARCH };          SlapReply rs = { REP_SEARCH };
         LDAPControl *ctrls[2];          LDAPControl *ctrls[2];
         struct berval cookie = BER_BVNULL, csns[2];          struct berval cookie = BER_BVNULL, csns[2];
Line 915  syncprov_qplay( Operation *op, syncops * Line 913  syncprov_qplay( Operation *op, syncops *
 {  {
         slap_overinst *on = LDAP_SLIST_FIRST(&so->s_op->o_extra)->oe_key;          slap_overinst *on = LDAP_SLIST_FIRST(&so->s_op->o_extra)->oe_key;
         syncres *sr;          syncres *sr;
         Entry *e;  
         opcookie opc;          opcookie opc;
         int rc = 0;          int rc = 0;
   
Line 1377  syncprov_op_cleanup( Operation *op, Slap Line 1374  syncprov_op_cleanup( Operation *op, Slap
         slap_overinst *on = opc->son;          slap_overinst *on = opc->son;
         syncprov_info_t         *si = on->on_bi.bi_private;          syncprov_info_t         *si = on->on_bi.bi_private;
         syncmatches *sm, *snext;          syncmatches *sm, *snext;
         modtarget *mt, mtdummy;          modtarget *mt;
   
         ldap_pvt_thread_mutex_lock( &si->si_ops_mutex );          ldap_pvt_thread_mutex_lock( &si->si_ops_mutex );
         if ( si->si_active )          if ( si->si_active )

Removed from v.1.321  
changed lines
  Added in v.1.322


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