aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mailing-list-actions/mailing-list-actions.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-08-09 12:29:56 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-08-09 12:29:56 +0800
commit412106bb1cb00a3c9b311dd56f912a3db8c15ba8 (patch)
treef6eaee0634bc14cada2d04195a188191f314d6de /plugins/mailing-list-actions/mailing-list-actions.c
parent1c2daa12a995b1385d14af681f1710cb6a010d49 (diff)
downloadgsoc2013-evolution-412106bb1cb00a3c9b311dd56f912a3db8c15ba8.tar.gz
gsoc2013-evolution-412106bb1cb00a3c9b311dd56f912a3db8c15ba8.tar.zst
gsoc2013-evolution-412106bb1cb00a3c9b311dd56f912a3db8c15ba8.zip
** See bug #312621.
2005-08-08 Not Zed <NotZed@Ximian.com> ** See bug #312621. * mailing-list-actions.c (emla_list_action_do): noop if msg = NULL. svn path=/trunk/; revision=30046
Diffstat (limited to 'plugins/mailing-list-actions/mailing-list-actions.c')
-rw-r--r--plugins/mailing-list-actions/mailing-list-actions.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mailing-list-actions/mailing-list-actions.c b/plugins/mailing-list-actions/mailing-list-actions.c
index 9bed95a76d..2746401bb7 100644
--- a/plugins/mailing-list-actions/mailing-list-actions.c
+++ b/plugins/mailing-list-actions/mailing-list-actions.c
@@ -104,6 +104,9 @@ void emla_list_action_do (CamelFolder *folder, const char *uid, CamelMimeMessage
int send_message_response;
EAccount *account;
+ if (msg == NULL)
+ return;
+
for (t = 0; t < emla_n_action_headers; t++) {
if (emla_action_headers[t].action == action &&
(header = camel_medium_get_header (CAMEL_MEDIUM (msg), emla_action_headers[t].header)) != NULL)