[balsa/gmime3: 22/49] Oops--missed one case
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gmime3: 22/49] Oops--missed one case
- Date: Sun, 19 Jan 2020 19:16:35 +0000 (UTC)
commit 301fcb9c48792289c1435a58cabbfd33dff9e909
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 527a12479..5b8af4044 100644
--- a/libbalsa/mailbox_mbox.c
+++ b/libbalsa/mailbox_mbox.c
@@ -1823,7 +1823,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);
@@ -1945,7 +1945,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]