From: Howard Chu Date: Fri, 28 Apr 2006 06:07:05 +0000 (+0000) Subject: Revert 1.96, restore 1.91 functionality X-Git-Tag: OPENLDAP_REL_ENG_2_4_1ALPHA~2^2~120 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eda2b46dd26b9c7e8ee202ad8292a2446936ddfb;p=openldap Revert 1.96, restore 1.91 functionality --- 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 );