aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-05 17:01:35 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-05 17:01:35 +0400
commite45ec9fd0e5c6469c7d9d74f04c621dcafcb9ee1 (patch)
tree2a3c435556f7d07e06d449c42b8e746a92a75c77 /src/main.c
parent860feef97ed04b130d247043e1945414aa280cea (diff)
downloadrspamd-e45ec9fd0e5c6469c7d9d74f04c621dcafcb9ee1.tar.gz
rspamd-e45ec9fd0e5c6469c7d9d74f04c621dcafcb9ee1.zip
* Move event and gmime init to main
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index d64884924..03a2c01b9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -577,6 +577,8 @@ main (int argc, char **argv, char **env)
/* Init statfile pool */
rspamd->statfile_pool = statfile_pool_new (cfg->max_statfile_size);
+ event_init ();
+ g_mime_init (0);
/* Perform modules configuring */
for (i = 0; i < MODULES_NUM; i ++) {