aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/rspamc.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-30 14:41:08 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-30 14:41:08 +0100
commit3f3ff6c3150ea10058fb804275111f0d4f051bf1 (patch)
tree61af61142b3d78f0d646bfe25fef2d20cb3b4fbf /src/client/rspamc.c
parentb6094fe11813643541b9747260c32a2e58054a85 (diff)
downloadrspamd-3f3ff6c3150ea10058fb804275111f0d4f051bf1.tar.gz
rspamd-3f3ff6c3150ea10058fb804275111f0d4f051bf1.zip
Init libraries in rspamc client as well.
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);