Commit 49f791dd 49f791dd2ccdd4b8bbe90c511cdea1c11e12b3bd by Sergey Poznyakoff

Check for MU_ATTRIBUTE_DELETED in mbox_expunge.

1 parent 0e166094
......@@ -887,6 +887,7 @@ mbox_expunge (mailbox_t mailbox)
mum = mud->umessages[dirty];
/* Message may have been tampered, break here. */
if ((mum->attr_flags & MU_ATTRIBUTE_MODIFIED) ||
(mum->attr_flags & MU_ATTRIBUTE_DELETED) ||
(mum->message && message_is_modified (mum->message)))
break;
}
......