From f164e69baaed08a0c67cbe709b251b19fb146daa Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 22 Sep 2000 18:18:39 +0000 Subject: [PATCH] Don't recursive lock connections_mutex in idle timeout routine --- servers/slapd/connection.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 67f20d9f25..700f384f5d 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -169,8 +169,6 @@ int connections_timeout_idle(time_t now) int connindex; Connection* c; - ldap_pvt_thread_mutex_lock( &connections_mutex ); - for( c = connection_first( &connindex ); c != NULL; c = connection_next( c, &connindex ) ) @@ -184,8 +182,6 @@ int connections_timeout_idle(time_t now) } connection_done( c ); - ldap_pvt_thread_mutex_unlock( &connections_mutex ); - return i; } -- 2.39.5