[balsa/gmime3: 23/50] Oops--missed one case
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gmime3: 23/50] Oops--missed one case
- Date: Fri, 31 Jan 2020 18:47:46 +0000 (UTC)
commit 9b2008b2f64e0b925ad8bc77ead21ab0df0284a9
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Fri Nov 22 10:03:29 2019 -0800
Oops--missed one case
in commit 0307e2063451451507ef85089742d07b8b0ad108
modified: libbalsa/mailbox_mbox.c
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 c907d936e..70364e08b 100644
--- a/libbalsa/mailbox_mbox.c
+++ b/libbalsa/mailbox_mbox.c
@@ -1822,7 +1822,7 @@ lbm_mbox_armored_object(GMimeStream * stream)
GMimeObject *object;
parser = g_mime_parser_new_with_stream(stream);
- object = GMIME_OBJECT(g_mime_parser_construct_message(parser), libbalsa_parser_options());
+ object = GMIME_OBJECT(g_mime_parser_construct_message(parser, libbalsa_parser_options()));
g_object_unref(parser);
g_mime_object_encode(object, GMIME_ENCODING_CONSTRAINT_7BIT);
@@ -1944,7 +1944,7 @@ lbm_mbox_add_message(LibBalsaMailboxLocal * local,
retval = lbm_mbox_newline(dest);
if (retval < 0
|| g_mime_stream_write_string(dest, from) < (gint) strlen(from)
- || g_mime_object_write_to_stream(armored_object, armored_dest) < 0) {
+ || g_mime_object_write_to_stream(armored_object, NULL, armored_dest) < 0) {
g_set_error(err, LIBBALSA_MAILBOX_ERROR,
LIBBALSA_MAILBOX_APPEND_ERROR, _("Data copy error"));
retval = -1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]