--- libraries/libldap/result.c 2006/12/14 09:02:14 1.143 +++ libraries/libldap/result.c 2006/12/17 21:04:25 1.144 @@ -1,5 +1,5 @@ /* result.c - wait for an ldap result */ -/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.142 2006/12/14 05:58:57 hyc Exp $ */ +/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.143 2006/12/14 09:02:14 hyc Exp $ */ /* This work is part of OpenLDAP Software . * * Copyright 1998-2006 The OpenLDAP Foundation. @@ -1237,7 +1237,7 @@ ldap_abandoned( LDAP *ld, ber_int_t msgi assert( msgid >= 0 ); assert( ld->ld_nabandoned >= 0 ); - return lutil_bisect_find( ld->ld_abandoned, ld->ld_nabandoned, msgid, idxp ); + return ldap_int_bisect_find( ld->ld_abandoned, ld->ld_nabandoned, msgid, idxp ); } /* @@ -1252,11 +1252,11 @@ ldap_mark_abandoned( LDAP *ld, ber_int_t LDAP_PVT_THREAD_ASSERT_MUTEX_OWNER( &ld->ld_res_mutex ); #endif - /* NOTE: those assertions are repeated in lutil_bisect_delete() */ + /* NOTE: those assertions are repeated in ldap_int_bisect_delete() */ assert( idx >= 0 ); assert( idx < ld->ld_nabandoned ); assert( ld->ld_abandoned[ idx ] == msgid ); - return lutil_bisect_delete( &ld->ld_abandoned, &ld->ld_nabandoned, + return ldap_int_bisect_delete( &ld->ld_abandoned, &ld->ld_nabandoned, msgid, idx ); }