]> git.sur5r.net Git - openldap/commitdiff
Revert 1.96, restore 1.91 functionality
authorHoward Chu <hyc@openldap.org>
Fri, 28 Apr 2006 06:07:05 +0000 (06:07 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 28 Apr 2006 06:07:05 +0000 (06:07 +0000)
servers/slapd/init.c

index ac710dfcbca31415b00715a83bc3be3cf2ac0a0d..4476d6a40e8317b5267100ed95ed27254764877a 100644 (file)
@@ -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 );