summaryrefslogtreecommitdiffstats
path: root/src/libutil/util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-12-11 14:52:58 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-12-11 14:52:58 +0000
commit48d2275ed0753761aee2ae16e105b388e16198e3 (patch)
tree65a42edeff3c4874fb3bab891c5966e533d20eec /src/libutil/util.c
parent1d6b8f15aae0e77ae289fa9c0451242bc0c92522 (diff)
downloadrspamd-48d2275ed0753761aee2ae16e105b388e16198e3.tar.gz
rspamd-48d2275ed0753761aee2ae16e105b388e16198e3.zip
[Minor] Fucking, fucking, fucking trusty
Diffstat (limited to 'src/libutil/util.c')
-rw-r--r--src/libutil/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c
index d69365b6f..68fbd5443 100644
--- a/src/libutil/util.c
+++ b/src/libutil/util.c
@@ -2136,9 +2136,12 @@ rspamd_init_libs (void)
gint magic_flags = 0;
+ /* Unless trusty and other crap is supported... */
+#if 0
#ifdef MAGIC_NO_CHECK_BUILTIN
magic_flags = MAGIC_NO_CHECK_BUILTIN;
#endif
+#endif
magic_flags |= MAGIC_MIME|MAGIC_NO_CHECK_COMPRESS|
MAGIC_NO_CHECK_ELF|MAGIC_NO_CHECK_TAR;
#ifdef MAGIC_NO_CHECK_CDF