aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-03 13:32:14 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-03 13:32:14 +0000
commit755e765515eebec9215e48f46f635bb2a2d54d11 (patch)
tree8399028a809cc5e22c48de44ca1beffdf50b6614 /src/rspamd.h
parente5a9a2248124f691d8ee9e27db623fa17278af3e (diff)
downloadrspamd-755e765515eebec9215e48f46f635bb2a2d54d11.tar.gz
rspamd-755e765515eebec9215e48f46f635bb2a2d54d11.zip
[Fix] Fix new rrd updates
Diffstat (limited to 'src/rspamd.h')
-rw-r--r--src/rspamd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd.h b/src/rspamd.h
index bb7285dff..8551b988d 100644
--- a/src/rspamd.h
+++ b/src/rspamd.h
@@ -222,7 +222,7 @@ struct rspamd_cryptobox_library_ctx;
*/
struct rspamd_stat {
guint messages_scanned; /**< total number of messages scanned */
- guint actions_stat[METRIC_ACTION_NOACTION + 1]; /**< statistic for each action */
+ guint actions_stat[METRIC_ACTION_MAX]; /**< statistic for each action */
guint connections_count; /**< total connections count */
guint control_connections_count; /**< connections count to control interface */
guint messages_learned; /**< messages learned */