aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-22 23:58:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-22 23:58:51 +0000
commit7bf934ec685f615509df5295b6d521607a036373 (patch)
tree69405c2c15a2623fd07d3bafd8be7c6263c0f3cf /src/libutil/util.c
parent93cad030fda4f15c32494f815790d9f953068352 (diff)
downloadrspamd-7bf934ec685f615509df5295b6d521607a036373.tar.gz
rspamd-7bf934ec685f615509df5295b6d521607a036373.zip
[Rework] Finally remove gmime dependency from Rspamd
Diffstat (limited to 'src/libutil/util.c')
-rw-r--r--src/libutil/util.c6
1 files changed, 0 insertions, 6 deletions
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 ();