From ed82a3aba83e08a76c216925e4dd99e3b22c83ab Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 3 Jul 2001 13:07:36 +0000 Subject: Don't pass a dirty exception to camel_folder_sync. Fixes an IMAP filtering * mail-ops.c (filter_folder_filter): Don't pass a dirty exception to camel_folder_sync. Fixes an IMAP filtering crash. svn path=/trunk/; revision=10743 --- mail/mail-ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-ops.c') diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 43c83f78e4..5f6dd7f2e2 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -114,7 +114,7 @@ filter_folder_filter(struct _mail_msg *mm) camel_folder_free_uids (folder, folder_uids); /* sync and expunge */ - camel_folder_sync (folder, TRUE, &mm->ex); + camel_folder_sync (folder, TRUE, camel_exception_is_set (&mm->ex) ? NULL : &mm->ex); camel_folder_thaw (folder); if (m->destination) -- cgit v1.2.3