aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_headers.c
diff options
context:
space:
mode:
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);
}