diff options
author | Not Zed <NotZed@Ximian.com> | 2005-08-09 12:29:56 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-08-09 12:29:56 +0800 |
commit | 412106bb1cb00a3c9b311dd56f912a3db8c15ba8 (patch) | |
tree | f6eaee0634bc14cada2d04195a188191f314d6de /plugins | |
parent | 1c2daa12a995b1385d14af681f1710cb6a010d49 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | plugins/mailing-list-actions/ChangeLog | 7 | ||||
-rw-r--r-- | plugins/mailing-list-actions/mailing-list-actions.c | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/plugins/mailing-list-actions/ChangeLog b/plugins/mailing-list-actions/ChangeLog index 994c8e5419..8d1fee69e3 100644 --- a/plugins/mailing-list-actions/ChangeLog +++ b/plugins/mailing-list-actions/ChangeLog @@ -1,3 +1,10 @@ +2005-08-08 Not Zed <NotZed@Ximian.com> + + ** See bug #312621. + + * mailing-list-actions.c (emla_list_action_do): noop if msg = + NULL. + 2005-08-02 Not Zed <NotZed@Ximian.com> * mailing-list-actions.c (emla_list_action_do): allocate enough 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) |