diff options
| author | Nathan Kinder <nkinder@redhat.com> | 2008-10-24 22:36:59 +0000 |
|---|---|---|
| committer | Nathan Kinder <nkinder@redhat.com> | 2008-10-24 22:36:59 +0000 |
| commit | 9d6bd843ae9ed5d5173d7dc0d58902671ed9ab05 (patch) | |
| tree | 2f6f89f7659715620fb0698c8b79faa6943a59c0 /ldap/servers/slapd/init.c | |
| parent | fc29aef3cd18c9eb68dbb9a45474e0fea9f6b4d1 (diff) | |
| download | ds-9d6bd843ae9ed5d5173d7dc0d58902671ed9ab05.tar.gz ds-9d6bd843ae9ed5d5173d7dc0d58902671ed9ab05.tar.xz ds-9d6bd843ae9ed5d5173d7dc0d58902671ed9ab05.zip | |
Resolves: 207457
Summary: Convert counters to 64-bit capable Slapi_Counter type.
Diffstat (limited to 'ldap/servers/slapd/init.c')
| -rw-r--r-- | ldap/servers/slapd/init.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ldap/servers/slapd/init.c b/ldap/servers/slapd/init.c index 0fa2e11c..174e8ca6 100644 --- a/ldap/servers/slapd/init.c +++ b/ldap/servers/slapd/init.c @@ -73,16 +73,12 @@ slapd_init() /* We don't worry about free'ing this stuff * since the only time we want to do that is when * the process is exiting. */ - ops_mutex = PR_NewLock(); num_conns = slapi_counter_new(); - g_set_num_sent_mutex( PR_NewLock() ); g_set_current_conn_count_mutex( PR_NewLock() ); slapd_re_init(); - if ( ops_mutex == NULL || - g_get_num_sent_mutex() == NULL || - g_get_current_conn_count_mutex() == NULL ) + if ( g_get_current_conn_count_mutex() == NULL ) { LDAPDebug( LDAP_DEBUG_ANY, "init: PR_NewLock failed\n", 0, 0, 0 ); |
