From b3c2613d7d22ff08251774cccf90f1617b58f193 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 27 Sep 2010 18:43:36 +0400 Subject: [PATCH] * Get message's headers more correctly --- src/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5