summaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_encoding.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-12 17:20:35 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-12 17:20:35 +0100
commit8e2facd1aaeaca370750185ba4b627e76140c02d (patch)
tree17af04c224ad254592779faff4c6e0217bde24e2 /src/libmime/mime_encoding.c
parent290857ea8d7238183f8cee461847dded0ab57e47 (diff)
downloadrspamd-8e2facd1aaeaca370750185ba4b627e76140c02d.tar.gz
rspamd-8e2facd1aaeaca370750185ba4b627e76140c02d.zip
[Project] Empty messages cases handling
Diffstat (limited to 'src/libmime/mime_encoding.c')
-rw-r--r--src/libmime/mime_encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_encoding.c b/src/libmime/mime_encoding.c
index 4622ee032..0fbba54b2 100644
--- a/src/libmime/mime_encoding.c
+++ b/src/libmime/mime_encoding.c
@@ -668,7 +668,7 @@ rspamd_mime_text_part_maybe_convert (struct rspamd_task *task,
if (charset == NULL) {
msg_info_task ("<%s>: has invalid charset",
- MESSAGE_FIELD (task, message_id));
+ MESSAGE_FIELD_CHECK (task, message_id));
SET_PART_RAW (text_part);
text_part->utf_raw_content = part_content;