[evolution/kill-bonobo: 19/25] Bug 345775 – Missing blank line between messages in saved mbox
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution/kill-bonobo: 19/25] Bug 345775 – Missing blank line between messages in saved mbox
- Date: Fri, 19 Jun 2009 19:06:06 -0400 (EDT)
commit b03af89f65d23f28a29ecea7171d0f89ac3b9bca
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Jun 15 18:18:39 2009 -0400
Bug 345775 â?? Missing blank line between messages in saved mbox
mail/mail-ops.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 4c9ef45..230cd6c 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]