aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-09-29 17:12:16 +0800
committerMilan Crha <mcrha@redhat.com>2010-09-29 17:12:16 +0800
commit12149572ad522d6c7aec9b2917a2da5df41174f3 (patch)
treef11511fefca5a20982acf4f684f546b0bbb0b9a9
parenta28f6db7fcf20a618675d26bbd7072164b9d4c8c (diff)
downloadgsoc2013-evolution-12149572ad522d6c7aec9b2917a2da5df41174f3.tar
gsoc2013-evolution-12149572ad522d6c7aec9b2917a2da5df41174f3.tar.gz
gsoc2013-evolution-12149572ad522d6c7aec9b2917a2da5df41174f3.tar.bz2
gsoc2013-evolution-12149572ad522d6c7aec9b2917a2da5df41174f3.tar.lz
gsoc2013-evolution-12149572ad522d6c7aec9b2917a2da5df41174f3.tar.xz
gsoc2013-evolution-12149572ad522d6c7aec9b2917a2da5df41174f3.tar.zst
gsoc2013-evolution-12149572ad522d6c7aec9b2917a2da5df41174f3.zip
Bug #630700 - Crash on message send
-rw-r--r--mail/mail-ops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 89b83ec426..4852d53b87 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);
}
}