diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-12 16:05:28 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-12 16:05:28 +0000 |
commit | c7b32fa3b992933dd33488700ebcae00dd63f79f (patch) | |
tree | 72ff686206f99f60356bc27af06dde4d35ff8cdf /src/libutil/util.c | |
parent | e8e31d2d6c4fc1fb13b5452e6dcebebf91f7ea4b (diff) | |
download | rspamd-c7b32fa3b992933dd33488700ebcae00dd63f79f.tar.gz rspamd-c7b32fa3b992933dd33488700ebcae00dd63f79f.zip |
Load text parsers for libmagic
Diffstat (limited to 'src/libutil/util.c')
-rw-r--r-- | src/libutil/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c index d347a3829..ed9d78abe 100644 --- a/src/libutil/util.c +++ b/src/libutil/util.c @@ -1952,7 +1952,7 @@ rspamd_init_libs (void) g_mime_init (0); #endif ctx->libmagic = magic_open (MAGIC_MIME|MAGIC_NO_CHECK_COMPRESS| - MAGIC_NO_CHECK_ELF|MAGIC_NO_CHECK_TAR|MAGIC_NO_CHECK_TEXT); + MAGIC_NO_CHECK_ELF|MAGIC_NO_CHECK_TAR); magic_compile (ctx->libmagic, NULL); return ctx; |