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/defbackend.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/defbackend.c')
-rw-r--r-- | ldap/servers/slapd/defbackend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/slapd/defbackend.c b/ldap/servers/slapd/defbackend.c index bb87cac4..dd948d07 100644 --- a/ldap/servers/slapd/defbackend.c +++ b/ldap/servers/slapd/defbackend.c @@ -216,7 +216,7 @@ defbackend_bind( Slapi_PBlock *pb ) slapi_pblock_get( pb, SLAPI_BIND_METHOD, &method ); slapi_pblock_get( pb, SLAPI_BIND_CREDENTIALS, &cred ); if ( method == LDAP_AUTH_SIMPLE && cred->bv_len == 0 ) { - snmp_increment_counter(g_get_global_snmp_vars()->ops_tbl.dsAnonymousBinds); + slapi_counter_increment(g_get_global_snmp_vars()->ops_tbl.dsAnonymousBinds); rc = SLAPI_BIND_ANONYMOUS; } else { send_nobackend_ldap_result( pb ); |