aboutsummaryrefslogtreecommitdiffstats
path: root/test/rspamd_test_suite.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/rspamd_test_suite.c')
-rw-r--r--test/rspamd_test_suite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rspamd_test_suite.c b/test/rspamd_test_suite.c
index 4ba11ea0f..9ff50c626 100644
--- a/test/rspamd_test_suite.c
+++ b/test/rspamd_test_suite.c
@@ -28,9 +28,9 @@ main (int argc, char **argv)
g_test_init (&argc, &argv, NULL);
cfg->libs_ctx = rspamd_init_libs ();
- rspamd_stat_init (cfg);
base = event_init ();
+ rspamd_stat_init (cfg, base);
if (g_test_verbose ()) {
cfg->log_level = G_LOG_LEVEL_DEBUG;