diff options
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r-- | mail/em-utils.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c index 306bd0474c..6e79386f37 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -1213,6 +1213,9 @@ reply_to_message (CamelFolder *folder, const char *uid, CamelMimeMessage *messag guint32 flags; int mode; + if (message == NULL) + return; + mode = GPOINTER_TO_INT (user_data); account = guess_account (message, folder); @@ -1281,6 +1284,9 @@ post_reply_to_message (CamelFolder *folder, const char *uid, CamelMimeMessage *m EAccount *account; guint32 flags; + if (message == NULL) + return; + account = guess_account (message, folder); flags = CAMEL_MESSAGE_ANSWERED | CAMEL_MESSAGE_SEEN; |