diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-16 11:19:40 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-16 11:24:20 +0100 |
commit | 229cf1c94b1879d92028735d46da3a9021f97c29 (patch) | |
tree | 5f4290e0603f817c25633d29ce0237b20b373437 /src/libmime/message.h | |
parent | ef16ff4ddd6f12dc2d6bc0bd5cc2dae5b219d592 (diff) | |
download | rspamd-229cf1c94b1879d92028735d46da3a9021f97c29.tar.gz rspamd-229cf1c94b1879d92028735d46da3a9021f97c29.zip |
[Fix] Add a special logic for text part with no text extraction
Diffstat (limited to 'src/libmime/message.h')
-rw-r--r-- | src/libmime/message.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libmime/message.h b/src/libmime/message.h index 4549c056d..25bf70f77 100644 --- a/src/libmime/message.h +++ b/src/libmime/message.h @@ -31,9 +31,10 @@ struct rspamd_image; struct rspamd_archive; enum rspamd_mime_part_flags { - RSPAMD_MIME_PART_ATTACHEMENT = (1 << 1), - RSPAMD_MIME_PART_BAD_CTE = (1 << 4), - RSPAMD_MIME_PART_MISSING_CTE = (1 << 5), + RSPAMD_MIME_PART_ATTACHEMENT = (1u << 1u), + RSPAMD_MIME_PART_BAD_CTE = (1u << 4u), + RSPAMD_MIME_PART_MISSING_CTE = (1u << 5u), + RSPAMD_MIME_PART_NO_TEXT_EXTRACTION = (1u << 6u), }; enum rspamd_mime_part_type { |