aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_headers.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_headers.c
parent290857ea8d7238183f8cee461847dded0ab57e47 (diff)
downloadrspamd-8e2facd1aaeaca370750185ba4b627e76140c02d.tar.gz
rspamd-8e2facd1aaeaca370750185ba4b627e76140c02d.zip
[Project] Empty messages cases handling
Diffstat (limited to 'src/libmime/mime_headers.c')
-rw-r--r--src/libmime/mime_headers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_headers.c b/src/libmime/mime_headers.c
index 99936dd8c..7c6c02709 100644
--- a/src/libmime/mime_headers.c
+++ b/src/libmime/mime_headers.c
@@ -1621,7 +1621,7 @@ struct rspamd_mime_header *
rspamd_message_get_header_array (struct rspamd_task *task,
const gchar *field)
{
- return rspamd_message_get_header_from_hash (MESSAGE_FIELD (task, raw_headers),
+ return rspamd_message_get_header_from_hash (MESSAGE_FIELD_CHECK (task, raw_headers),
field);
}