From e45ec9fd0e5c6469c7d9d74f04c621dcafcb9ee1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 5 May 2009 17:01:35 +0400 Subject: * Move event and gmime init to main --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.c') 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 ++) { -- cgit v1.2.3