summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/compare.c
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2007-10-18 00:08:38 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2007-10-18 00:08:38 +0000
commit19cd513a509aa6e45361df774e74f2d39451e08a (patch)
tree13ad0e58a486afd842559e1d74d019190c3f1d79 /ldap/servers/slapd/compare.c
parent878c163528ed089dae1edb8295a6dd4ae842b9b4 (diff)
downloadds-19cd513a509aa6e45361df774e74f2d39451e08a.tar.gz
ds-19cd513a509aa6e45361df774e74f2d39451e08a.tar.xz
ds-19cd513a509aa6e45361df774e74f2d39451e08a.zip
Resolves: #188320
Summary: HP-UX: warnings reported by the HP-UX compiler
Diffstat (limited to 'ldap/servers/slapd/compare.c')
-rw-r--r--ldap/servers/slapd/compare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/slapd/compare.c b/ldap/servers/slapd/compare.c
index 59961d8d..7f899341 100644
--- a/ldap/servers/slapd/compare.c
+++ b/ldap/servers/slapd/compare.c
@@ -77,7 +77,7 @@ do_compare( Slapi_PBlock *pb )
LDAPDebug( LDAP_DEBUG_TRACE, "do_compare\n", 0, 0, 0 );
/* count the compare request */
- PR_AtomicIncrement(g_get_global_snmp_vars()->ops_tbl.dsCompareOps);
+ snmp_increment_counter(g_get_global_snmp_vars()->ops_tbl.dsCompareOps);
/* have to init this here so we can "done" it below if we short circuit */
slapi_sdn_init(&sdn);