summaryrefslogtreecommitdiffstats
path: root/test/rspamd_test_suite.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-06 15:25:07 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-06 15:25:07 +0000
commit0e7f9f3d4666f7bd864f65e87820f5a6b1a8f433 (patch)
tree96867fea6b5650b364aa09169836d39e0c8002b1 /test/rspamd_test_suite.c
parent96d887fb8e167278e5406f91882ac262355c9ebe (diff)
downloadrspamd-0e7f9f3d4666f7bd864f65e87820f5a6b1a8f433.tar.gz
rspamd-0e7f9f3d4666f7bd864f65e87820f5a6b1a8f433.zip
Store event base in statistics library
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;