diff options
author | Milan Crha <mcrha@redhat.com> | 2010-09-29 17:12:16 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-09-29 17:12:16 +0800 |
commit | 12149572ad522d6c7aec9b2917a2da5df41174f3 (patch) | |
tree | f11511fefca5a20982acf4f684f546b0bbb0b9a9 /mail | |
parent | a28f6db7fcf20a618675d26bbd7072164b9d4c8c (diff) | |
download | gsoc2013-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
Diffstat (limited to 'mail')
-rw-r--r-- | 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 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); } } |