aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-29 10:41:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-29 10:41:22 +0100
commit8ba163d5cc1271f4a58ba695da2329cf431be04a (patch)
tree28a2aa2996f1d33186c9a4709104efa27ceb4ea5
parenta12c35da78fb92e1d151aa897b2413313ef60190 (diff)
downloadrspamd-8ba163d5cc1271f4a58ba695da2329cf431be04a.tar.gz
rspamd-8ba163d5cc1271f4a58ba695da2329cf431be04a.zip
[Minor] Fix braces
-rw-r--r--src/plugins/fuzzy_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index 1b24b596a..f5cc61dc6 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -2409,7 +2409,7 @@ fuzzy_generate_commands (struct rspamd_task *task, struct fuzzy_rule *rule,
if (G_LIKELY (!(flags & FUZZY_CHECK_FLAG_NOIMAGES))) {
if (mime_part->ct &&
- !(mime_part->flags & RSPAMD_MIME_PART_TEXT|RSPAMD_MIME_PART_IMAGE) &&
+ !(mime_part->flags & (RSPAMD_MIME_PART_TEXT|RSPAMD_MIME_PART_IMAGE)) &&
mime_part->parsed_data.len > 0 &&
fuzzy_check_content_type (rule, mime_part->ct)) {
if (fuzzy_module_ctx->min_bytes <= 0 || mime_part->parsed_data.len >=