]> git.pld-linux.org Git - packages/evolution.git/commitdiff
- fixes crash on message send (bg#630700)
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Wed, 20 Oct 2010 13:23:47 +0000 (13:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    evolution-message-send-crash.patch -> 1.1

evolution-message-send-crash.patch [new file with mode: 0644]

diff --git a/evolution-message-send-crash.patch b/evolution-message-send-crash.patch
new file mode 100644 (file)
index 0000000..6d78d26
--- /dev/null
@@ -0,0 +1,24 @@
+From 84f0a15b38c9934cf6cfef7f1b988cce20c11501 Mon Sep 17 00:00:00 2001
+From: Milan Crha <mcrha@redhat.com>
+Date: Wed, 29 Sep 2010 09:12:52 +0000
+Subject: Bug #630700 - Crash on message send
+
+---
+diff --git a/mail/mail-ops.c b/mail/mail-ops.c
+index ae2d12d..7f84b3b 100644
+--- a/mail/mail-ops.c
++++ b/mail/mail-ops.c
+@@ -607,8 +607,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);
+                       }
+               }
+--
+cgit v0.8.3.1
This page took 0.113671 seconds and 4 git commands to generate.