From 63c9dd8280c150f22618233b693abcf832f145f7 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 9 Apr 2002 23:54:45 +0000 Subject: [PATCH] SLAP_OP_LAST dependent code needs to be behind SLAP_MONITOR --- servers/slapd/init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/init.c b/servers/slapd/init.c index 7bdae990b3..c96040e392 100644 --- a/servers/slapd/init.c +++ b/servers/slapd/init.c @@ -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 ) -- 2.39.5