Skip to content
Snippets Groups Projects
Commit 2a50cbff authored by Howard Chu's avatar Howard Chu
Browse files

Use avl_find2, not avl_find

parent 87c74c2d
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment