[balsa/gmime3: 62/66] mailbox_mbox: Set the parser format to mbox
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gmime3: 62/66] mailbox_mbox: Set the parser format to mbox
- Date: Fri, 21 Feb 2020 19:53:00 +0000 (UTC)
commit c6eba554bd43b749bb5ac7b05243e2ef7dc23bc8
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]