[balsa/gmime3: 50/55] mailbox_mbox: Set the parser format to mbox
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gmime3: 50/55] mailbox_mbox: Set the parser format to mbox
- Date: Wed, 18 Mar 2020 00:12:27 +0000 (UTC)
commit 208cfdbe30d08d7a60b3f86cd49a5f979bf237ab
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 15ea27217..05d193f03 100644
--- a/libbalsa/mailbox_mbox.c
+++ b/libbalsa/mailbox_mbox.c
@@ -434,7 +434,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",
@@ -1639,7 +1639,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]