From: Howard Chu Date: Sat, 20 Nov 2004 00:55:58 +0000 (+0000) Subject: Use avl_find2, not avl_find X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~265 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2a50cbffd13d59ec82c14db7c5fc1d18c1a31d99;p=openldap Use avl_find2, not avl_find --- diff --git a/servers/slapd/overlays/seqmod.c b/servers/slapd/overlays/seqmod.c index 499e8fdb7a..3730d17634 100644 --- a/servers/slapd/overlays/seqmod.c +++ b/servers/slapd/overlays/seqmod.c @@ -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;