aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/rspamc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/rspamc.c')
-rw-r--r--src/client/rspamc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index c5f7192ae..97378e5ef 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -1271,8 +1271,8 @@ main (gint argc, gchar **argv, gchar **env)
exit (EXIT_SUCCESS);
}
- ev_base = event_init ();
- g_mime_init (0);
+ rspamd_init_libs ();
+ ev_base = event_base_new ();
/* Ignore sigpipe */
sigemptyset (&sigpipe_act.sa_mask);