]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix braces
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 29 May 2017 09:41:22 +0000 (10:41 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 29 May 2017 09:41:52 +0000 (10:41 +0100)
src/plugins/fuzzy_check.c

index 1b24b596ae2e1dc9220cc7a06625638f58e6dc04..f5cc61dc6e83dc87c5ceba9ef8e949fe51abb2d7 100644 (file)
@@ -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 >=