[balsa/gmime3: 39/66] Oops--missed one case



commit e58085ce92552733a411d7bc4a979c480b342cad
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 3d7e97905..177b0e118 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]