mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Move ldap_pvt_thread_initialize() earlier. (See -devel; same as ITS#3793)
This commit is contained in:
parent
95498d0ddd
commit
99e2e5d886
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user