From 7bf934ec685f615509df5295b6d521607a036373 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 22 Dec 2016 23:58:51 +0000 Subject: [Rework] Finally remove gmime dependency from Rspamd --- src/libutil/util.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/libutil/util.c') diff --git a/src/libutil/util.c b/src/libutil/util.c index 9d87d5c9f..c33a92180 100644 --- a/src/libutil/util.c +++ b/src/libutil/util.c @@ -2105,11 +2105,6 @@ rspamd_init_libs (void) rlim.rlim_max = rlim.rlim_cur; setrlimit (RLIMIT_STACK, &rlim); -#ifdef GMIME_ENABLE_RFC2047_WORKAROUNDS - g_mime_init (GMIME_ENABLE_RFC2047_WORKAROUNDS); -#else - g_mime_init (0); -#endif ctx->libmagic = magic_open (MAGIC_MIME|MAGIC_NO_CHECK_COMPRESS| MAGIC_NO_CHECK_ELF|MAGIC_NO_CHECK_TAR); ctx->local_addrs = rspamd_inet_library_init (); @@ -2291,7 +2286,6 @@ rspamd_deinit_libs (struct rspamd_external_libs_ctx *ctx) } g_free (ctx->ottery_cfg); - g_mime_shutdown (); #ifdef HAVE_OPENSSL EVP_cleanup (); -- cgit v1.2.3