From 1fd0976706e25cdfcc9ddf895e4d74d6c849f23a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 21 Sep 2010 09:09:22 -0400 Subject: Bug 630118 - Endless recursive loop in mail_msg_cancel() --- mail/mail-mt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/mail-mt.c b/mail/mail-mt.c index fbbe925b74..595cedf776 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -303,7 +303,7 @@ void mail_msg_cancel (guint msgid) m = g_hash_table_lookup (mail_msg_active_table, GINT_TO_POINTER (msgid)); - if (m && m->cancel) + if (m != NULL && !camel_operation_cancel_check (m->cancel)) camel_operation_cancel (m->cancel); g_mutex_unlock (mail_msg_lock); -- cgit