commit 8ccbe58: [Fix] Fix flag shift

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Dec 21 17:21:06 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-12-21 16:16:16 +0000
URL: https://github.com/rspamd/rspamd/commit/8ccbe58ae4ee8afa83f3c0e8e52e6a0f57dec015

[Fix] Fix flag shift

---
 src/libmime/content_type.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libmime/content_type.h b/src/libmime/content_type.h
index 3991e6785..0f7b8e963 100644
--- a/src/libmime/content_type.h
+++ b/src/libmime/content_type.h
@@ -32,7 +32,7 @@ enum rspamd_content_type_flags {
 	RSPAMD_CONTENT_TYPE_MESSAGE = 1 << 3,
 	RSPAMD_CONTENT_TYPE_DSN = 1 << 4,
 	RSPAMD_CONTENT_TYPE_MISSING = 1 << 5,
-	RSPAMD_CONTENT_TYPE_ENCRYPTED = 1 << 1,
+	RSPAMD_CONTENT_TYPE_ENCRYPTED = 1 << 6,
 };
 
 enum rspamd_content_param_flags {


More information about the Commits mailing list