From eda2b46dd26b9c7e8ee202ad8292a2446936ddfb Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 28 Apr 2006 06:07:05 +0000 Subject: [PATCH] Revert 1.96, restore 1.91 functionality --- servers/slapd/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/init.c b/servers/slapd/init.c index ac710dfcbc..4476d6a40e 100644 --- a/servers/slapd/init.c +++ b/servers/slapd/init.c @@ -122,8 +122,6 @@ slap_init( int mode, const char *name ) switch ( slapMode & SLAP_MODE ) { case SLAP_SERVER_MODE: - ldap_pvt_thread_pool_init( &connection_pool, - connection_pool_max, 0); /* FALLTHRU */ case SLAP_TOOL_MODE: @@ -134,6 +132,8 @@ slap_init( int mode, const char *name ) slap_name = name; + ldap_pvt_thread_pool_init( &connection_pool, + connection_pool_max, 0); ldap_pvt_thread_mutex_init( &entry2str_mutex ); ldap_pvt_thread_mutex_init( &replog_mutex ); -- 2.39.5