From 19cd513a509aa6e45361df774e74f2d39451e08a Mon Sep 17 00:00:00 2001 From: Noriko Hosoi Date: Thu, 18 Oct 2007 00:08:38 +0000 Subject: Resolves: #188320 Summary: HP-UX: warnings reported by the HP-UX compiler --- ldap/servers/slapd/compare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldap/servers/slapd/compare.c') 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); -- cgit