From 99e2e5d8866aa0726f55726ee472b2d1a225005b Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 10 Aug 2005 23:19:47 +0000 Subject: [PATCH] Move ldap_pvt_thread_initialize() earlier. (See -devel; same as ITS#3793) --- servers/slapd/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/main.c b/servers/slapd/main.c index 02becaa502..1cac009c99 100644 --- a/servers/slapd/main.c +++ b/servers/slapd/main.c @@ -272,6 +272,8 @@ int main( int argc, char **argv ) slap_sl_mem_init(); + (void) ldap_pvt_thread_initialize(); + serverName = lutil_progname( "slapd", argc, argv ); if ( strcmp( serverName, "slapd" ) ) { @@ -531,8 +533,6 @@ unhandled_option:; } } - (void) ldap_pvt_thread_initialize(); - ber_set_option(NULL, LBER_OPT_DEBUG_LEVEL, &slap_debug); ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &slap_debug); ldif_debug = slap_debug; -- 2.39.5