[balsa/gmime3: 45/46] mailbox_mbox: Set the parser format to mbox
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gmime3: 45/46] mailbox_mbox: Set the parser format to mbox
- Date: Wed, 27 Nov 2019 01:46:21 +0000 (UTC)
commit de10bd82d30dcb222505f93c5242b815676bc658
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]