From: Nick Porter Date: Wed, 15 May 2024 19:38:22 +0000 (+0100) Subject: stats is now in inst->mutable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb87864dc62021398ef466925d4c3f9cf32bb158;p=thirdparty%2Ffreeradius-server.git stats is now in inst->mutable --- diff --git a/src/modules/rlm_stats/rlm_stats.c b/src/modules/rlm_stats/rlm_stats.c index 8fb9688ffd1..34ad9fb064d 100644 --- a/src/modules/rlm_stats/rlm_stats.c +++ b/src/modules/rlm_stats/rlm_stats.c @@ -250,7 +250,7 @@ static unlang_action_t CC_HINT(nonnull) mod_stats(rlm_rcode_t *p_result, module_ pthread_mutex_lock(&inst->mutable->mutex); for (i = 0; i < FR_RADIUS_CODE_MAX; i++) { - inst->stats[i] += t->stats[i]; + inst->mutable->stats[i] += t->stats[i]; t->stats[i] = 0; } pthread_mutex_unlock(&inst->mutable->mutex);