Do connections_init() sooner

This commit is contained in:
Howard Chu 2008-05-18 15:58:10 +00:00
parent 7db4c6dabc
commit b6b3461cf9
2 changed files with 2 additions and 1 deletions

View File

@ -2620,7 +2620,6 @@ slapd_daemon( void )
{
int rc;
connections_init();
#ifdef LDAP_CONNECTIONLESS
connectionless_init();
#endif /* LDAP_CONNECTIONLESS */

View File

@ -929,6 +929,8 @@ unhandled_option:;
*/
time( &starttime );
connections_init();
if ( slap_startup( NULL ) != 0 ) {
rc = 1;
SERVICE_EXIT( ERROR_SERVICE_SPECIFIC_ERROR, 21 );