Diff for /servers/slapd/overlays/seqmod.c between versions 1.2 and 1.3

version 1.2, 2004/11/19 22:45:31 version 1.3, 2004/11/19 23:55:58
Line 59  seqmod_op_cleanup( Operation *op, SlapRe Line 59  seqmod_op_cleanup( Operation *op, SlapRe
   
         /* This op is done, remove it */          /* This op is done, remove it */
         ldap_pvt_thread_mutex_lock( &sm->sm_mutex );          ldap_pvt_thread_mutex_lock( &sm->sm_mutex );
         av = avl_find( sm->sm_mods, mt, sm_avl_cmp );          av = avl_find2( sm->sm_mods, mt, sm_avl_cmp );
         assert(av);          assert(av);
   
         mt = av->avl_data;          mt = av->avl_data;
Line 98  seqmod_op_mod( Operation *op, SlapReply Line 98  seqmod_op_mod( Operation *op, SlapReply
          * near-simultaneous mods of the same entry           * near-simultaneous mods of the same entry
          */           */
         ldap_pvt_thread_mutex_lock( &sm->sm_mutex );          ldap_pvt_thread_mutex_lock( &sm->sm_mutex );
         av = avl_find( sm->sm_mods, mt, sm_avl_cmp );          av = avl_find2( sm->sm_mods, mt, sm_avl_cmp );
         if ( av ) {          if ( av ) {
                 modtarget *mtp = av->avl_data;                  modtarget *mtp = av->avl_data;
                 mtp->mt_tail->mt_next = mt;                  mtp->mt_tail->mt_next = mt;

Removed from v.1.2  
changed lines
  Added in v.1.3


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