diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-09-27 18:43:36 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-09-27 18:43:36 +0400 |
commit | b3c2613d7d22ff08251774cccf90f1617b58f193 (patch) | |
tree | 7f4edd6a0c2cbb020120746752e25ba1345dd09e /src/message.c | |
parent | 86931744d60d6377815608e6cae36190b54fc62f (diff) | |
download | rspamd-b3c2613d7d22ff08251774cccf90f1617b58f193.tar.gz rspamd-b3c2613d7d22ff08251774cccf90f1617b58f193.zip |
* Get message's headers more correctly
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 2 |
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 */ |