[balsa/gmime3: 45/49] mailbox_mbox: Set the parser format to mbox



commit 8f41ea4729bf976fc728486acd8b1104dce3a0c7
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Nov 25 18:41:44 2019 -0500

    mailbox_mbox: Set the parser format to mbox
    
    Duh!

 libbalsa/mailbox_mbox.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libbalsa/mailbox_mbox.c b/libbalsa/mailbox_mbox.c
index 5b8af4044..88380df74 100644
--- a/libbalsa/mailbox_mbox.c
+++ b/libbalsa/mailbox_mbox.c
@@ -437,7 +437,7 @@ parse_mailbox(LibBalsaMailboxMbox * mbox)
     unsigned msgno = mbox->msgno_2_msg_info->len;
 
     gmime_parser = g_mime_parser_new_with_stream(mbox->gmime_stream);
-    g_mime_parser_set_format(gmime_parser, GMIME_FORMAT_MESSAGE);
+    g_mime_parser_set_format(gmime_parser, GMIME_FORMAT_MBOX);
     g_mime_parser_set_respect_content_length(gmime_parser, TRUE);
     g_mime_parser_set_header_regex(gmime_parser,
                                    "^Status|^X-Status|^MIME-Version",
@@ -1641,7 +1641,7 @@ libbalsa_mailbox_mbox_sync(LibBalsaMailbox * mailbox, gboolean expunge)
        return FALSE;
     }
     gmime_parser = g_mime_parser_new_with_stream(mbox_stream);
-    g_mime_parser_set_format(gmime_parser, GMIME_FORMAT_MESSAGE);
+    g_mime_parser_set_format(gmime_parser, GMIME_FORMAT_MBOX);
     g_mime_parser_set_respect_content_length(gmime_parser, TRUE);
     g_mime_parser_set_header_regex(gmime_parser,
                                    "^Status|^X-Status|^MIME-Version",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]