[balsa/gmime3: 90/94] mailbox_mbox: Set the parser format to mbox



commit 4b55c5bc1baef88a187b05754ca39c5cd8043ce2
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 177b0e118..2694c551c 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",
@@ -1640,7 +1640,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]