]> source.dussan.org Git - rspamd.git/commitdiff
Init libraries in rspamc client as well.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 30 Sep 2015 13:41:08 +0000 (14:41 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 30 Sep 2015 13:41:08 +0000 (14:41 +0100)
src/client/rspamc.c

index c5f7192ae0c0be9690bd9eeb94d43081480e2948..97378e5ef15b0b4c1e765301d6c42414b29a147f 100644 (file)
@@ -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);