mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
SLAP_OP_LAST dependent code needs to be behind SLAP_MONITOR
This commit is contained in:
parent
d051fe21d2
commit
63c9dd8280
1 changed files with 2 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ slap_init( int mode, const char *name )
|
|||
ldap_pvt_thread_mutex_init( &num_ops_mutex );
|
||||
ldap_pvt_thread_mutex_init( &num_sent_mutex );
|
||||
|
||||
#ifdef SLAPD_MONITOR
|
||||
{
|
||||
int i;
|
||||
for ( i = 0; i < SLAP_OP_LAST; i++ ) {
|
||||
|
|
@ -122,6 +123,7 @@ slap_init( int mode, const char *name )
|
|||
num_ops_completed_[ i ] = 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
ldap_pvt_thread_mutex_init( &gmtime_mutex );
|
||||
#if defined( SLAPD_CRYPT ) || defined( SLAPD_SPASSWD )
|
||||
|
|
|
|||
Loading…
Reference in a new issue