aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-26 21:06:33 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-26 21:06:33 +0000
commit213d099065c3daedfcc50e7d8ff2625081b92ba2 (patch)
treea08efd28eb74a6ae0ae08f4dd213928f1b44634f /src/main.c
parent353113f99bd8c1bbb4db60bbebcef1e5d4af1d81 (diff)
downloadrspamd-213d099065c3daedfcc50e7d8ff2625081b92ba2.tar.gz
rspamd-213d099065c3daedfcc50e7d8ff2625081b92ba2.zip
Add libstat to the main rspamd routines.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index fbbc5c0f0..da17018f6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -34,6 +34,7 @@
#include "ottery.h"
#include "xxhash.h"
#include "utlist.h"
+#include "libstat/stat_api.h"
#ifdef HAVE_OPENSSL
#include <openssl/rand.h>
#include <openssl/err.h>
@@ -1326,6 +1327,8 @@ main (gint argc, gchar **argv, gchar **env)
exit (EXIT_FAILURE);
}
+ rspamd_stat_init (rspamd_main->cfg);
+
/* Insert classifiers symbols */
(void)rspamd_config_insert_classify_symbols (rspamd_main->cfg);