]> git.sur5r.net Git - openldap/commitdiff
fix old erroneous commit (ITS#4001)
authorPierangelo Masarati <ando@openldap.org>
Sun, 4 Sep 2005 19:21:39 +0000 (19:21 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 4 Sep 2005 19:21:39 +0000 (19:21 +0000)
servers/slapd/back-ldap/unbind.c

index 180441a44d0d9ea22847227dd65c80131e03c363..17d0bb763b740b41eaacc20d4d161e6269047d82 100644 (file)
@@ -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 );