aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/message.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-08-16 11:19:40 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-08-16 11:24:20 +0100
commit229cf1c94b1879d92028735d46da3a9021f97c29 (patch)
tree5f4290e0603f817c25633d29ce0237b20b373437 /src/libmime/message.h
parentef16ff4ddd6f12dc2d6bc0bd5cc2dae5b219d592 (diff)
downloadrspamd-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.h7
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 {