[evolution] Bug #630700 - Crash on message send



commit 12149572ad522d6c7aec9b2917a2da5df41174f3
Author: Milan Crha <mcrha redhat com>
Date:   Wed Sep 29 11:12:16 2010 +0200

    Bug #630700 - Crash on message send

 mail/mail-ops.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 89b83ec..4852d53 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -601,8 +601,9 @@ mail_send_message (struct _send_queue_msg *m,
 				g_string_append_printf (
 					err, _("Failed to append to %s: %s\n"
 					"Appending to local 'Sent' folder instead."),
-					sent_folder_uri, local_error->message);
-				g_clear_error (&local_error);
+					sent_folder_uri, local_error ? local_error->message : _("Unknown error"));
+				if (local_error)
+					g_clear_error (&local_error);
 			}
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]