mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
Use avl_find2, not avl_find
This commit is contained in:
parent
87c74c2d52
commit
2a50cbffd1
1 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ seqmod_op_cleanup( Operation *op, SlapReply *rs )
|
|||
|
||||
/* This op is done, remove it */
|
||||
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);
|
||||
|
||||
mt = av->avl_data;
|
||||
|
|
@ -98,7 +98,7 @@ seqmod_op_mod( Operation *op, SlapReply *rs )
|
|||
* near-simultaneous mods of the same entry
|
||||
*/
|
||||
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 ) {
|
||||
modtarget *mtp = av->avl_data;
|
||||
mtp->mt_tail->mt_next = mt;
|
||||
|
|
|
|||
Loading…
Reference in a new issue