aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-16 06:18:39 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-16 06:18:39 +0800
commitb03af89f65d23f28a29ecea7171d0f89ac3b9bca (patch)
treea463cb8e38060e7c84c836b5850e70b76d8ba5ca /mail/mail-ops.c
parentdfefb7f6862425dee32d19048ce7cda623a6f9e7 (diff)
downloadgsoc2013-evolution-b03af89f65d23f28a29ecea7171d0f89ac3b9bca.tar.gz
gsoc2013-evolution-b03af89f65d23f28a29ecea7171d0f89ac3b9bca.tar.zst
gsoc2013-evolution-b03af89f65d23f28a29ecea7171d0f89ac3b9bca.zip
Bug 345775 – Missing blank line between messages in saved mbox
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 4c9ef452c8..230cd6c508 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -2110,7 +2110,9 @@ save_messages_exec (struct _save_messages_msg *m)
if (camel_stream_write_string(stream, from) == -1
|| camel_stream_flush(stream) == -1
|| camel_data_wrapper_write_to_stream((CamelDataWrapper *)message, (CamelStream *)filtered_stream) == -1
- || camel_stream_flush((CamelStream *)filtered_stream) == -1) {
+ || camel_stream_flush((CamelStream *)filtered_stream) == -1
+ || camel_stream_write_string(stream, "\n") == -1
+ || camel_stream_flush(stream) == -1) {
camel_exception_setv(&m->base.ex, CAMEL_EXCEPTION_SYSTEM,
_("Error saving messages to: %s:\n %s"), m->path, g_strerror(errno));
g_free(from);