summaryrefslogtreecommitdiff
path: root/src/ot_stats.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-11-12 22:28:39 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-11-12 22:28:39 +0100
commitbfef6800268cdcf0b9118d89f1ce7c3541bd0309 (patch)
treec43a44135953914a42dfe9666e85552fa4a35d17 /src/ot_stats.c
parent530d3ee20a06f2a128b1eddaf2398011d3f1d119 (diff)
Stop forcing 64 bit variables on 32 bit targets where a long would do just fineHEADmaster
Diffstat (limited to 'src/ot_stats.c')
-rw-r--r--src/ot_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ot_stats.c b/src/ot_stats.c
index ba780d3..95f3cff 100644
--- a/src/ot_stats.c
+++ b/src/ot_stats.c
@@ -83,7 +83,7 @@ static void counters_total(unsigned long long *total) {
83 pthread_mutex_unlock(&g_counter_mutex); 83 pthread_mutex_unlock(&g_counter_mutex);
84} 84}
85 85
86#define COUNT(index, by) atomic_fetch_add_explicit(ws->counters + (index), (unsigned long long)(by), memory_order_relaxed) 86#define COUNT(index, by) atomic_fetch_add_explicit(ws->counters + (index), (unsigned long)(by), memory_order_relaxed)
87 87
88static const char *ot_failed_request_names[] = { 88static const char *ot_failed_request_names[] = {
89 "302 Redirect", "400 Parse Error", "400 Invalid Parameter", "400 Invalid Parameter (compact=0)", "400 Not Modest", 89 "302 Redirect", "400 Parse Error", "400 Invalid Parameter", "400 Invalid Parameter (compact=0)", "400 Not Modest",