aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_parser.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-19 09:58:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-19 09:58:51 +0000
commit01073ffc93bb5ac6578590900c50645a5c48126c (patch)
tree7ae400df55305b349581eb5acadc96ec8ce198fa /src/libmime/mime_parser.h
parentd2645a9a8ee9d7521658bd04ac7564da63026cd4 (diff)
downloadrspamd-01073ffc93bb5ac6578590900c50645a5c48126c.tar.gz
rspamd-01073ffc93bb5ac6578590900c50645a5c48126c.zip
[Fix] Mime_parser: Fix issue with parsing of the trailing garbadge
Diffstat (limited to 'src/libmime/mime_parser.h')
-rw-r--r--src/libmime/mime_parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/mime_parser.h b/src/libmime/mime_parser.h
index 5164ea4d5..987ec1395 100644
--- a/src/libmime/mime_parser.h
+++ b/src/libmime/mime_parser.h
@@ -25,6 +25,7 @@ enum rspamd_mime_parse_error {
RSPAMD_MIME_PARSE_OK = 0,
RSPAMD_MIME_PARSE_FATAL,
RSPAMD_MIME_PARSE_NESTING,
+ RSPAMD_MIME_PARSE_NO_PART,
};
enum rspamd_mime_parse_error rspamd_mime_parse_task (struct rspamd_task *task,