aboutsummaryrefslogtreecommitdiffstats
path: root/src/message.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-09-27 18:43:36 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-09-27 18:43:36 +0400
commitb3c2613d7d22ff08251774cccf90f1617b58f193 (patch)
tree7f4edd6a0c2cbb020120746752e25ba1345dd09e /src/message.c
parent86931744d60d6377815608e6cae36190b54fc62f (diff)
downloadrspamd-b3c2613d7d22ff08251774cccf90f1617b58f193.tar.gz
rspamd-b3c2613d7d22ff08251774cccf90f1617b58f193.zip
* Get message's headers more correctly
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 39910ba7d..9df569f02 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1077,7 +1077,7 @@ local_message_get_header (memory_pool_t * pool, GMimeMessage * message, const ch
#else
GMimeHeaderList *ls;
- ls = GMIME_OBJECT (message)->headers;
+ ls = g_mime_object_get_header_list (GMIME_OBJECT (message));
header_iterate (pool, ls, &gret, field);
if (gret == NULL) {
/* Try to iterate with mime part headers */