From b6b3461cf9a986b7a1c6ee650cd264efdee1674e Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 18 May 2008 15:58:10 +0000 Subject: [PATCH] Do connections_init() sooner --- servers/slapd/daemon.c | 1 - servers/slapd/main.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 5f6496821f..3fe81157b7 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -2620,7 +2620,6 @@ slapd_daemon( void ) { int rc; - connections_init(); #ifdef LDAP_CONNECTIONLESS connectionless_init(); #endif /* LDAP_CONNECTIONLESS */ diff --git a/servers/slapd/main.c b/servers/slapd/main.c index 70dae327d6..5f841086c4 100644 --- a/servers/slapd/main.c +++ b/servers/slapd/main.c @@ -929,6 +929,8 @@ unhandled_option:; */ time( &starttime ); + connections_init(); + if ( slap_startup( NULL ) != 0 ) { rc = 1; SERVICE_EXIT( ERROR_SERVICE_SPECIFIC_ERROR, 21 ); -- 2.39.5