From: Pierangelo Masarati Date: Sun, 4 Sep 2005 19:21:39 +0000 (+0000) Subject: fix old erroneous commit (ITS#4001) X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~489 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7fd7001fc2aab80c51e32f6a23df2a9944d2384b;p=openldap fix old erroneous commit (ITS#4001) --- diff --git a/servers/slapd/back-ldap/unbind.c b/servers/slapd/back-ldap/unbind.c index 180441a44d..17d0bb763b 100644 --- a/servers/slapd/back-ldap/unbind.c +++ b/servers/slapd/back-ldap/unbind.c @@ -48,7 +48,7 @@ ldap_back_conn_destroy( lc_curr.lc_conn = conn; lc_curr.lc_local_ndn = conn->c_ndn; - ldap_pvt_thread_mutex_trylock( &li->conn_mutex ); + ldap_pvt_thread_mutex_lock( &li->conn_mutex ); lc = avl_delete( &li->conntree, (caddr_t)&lc_curr, ldap_back_conn_cmp ); ldap_pvt_thread_mutex_unlock( &li->conn_mutex );