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) ...@@ -887,6 +887,7 @@ mbox_expunge (mailbox_t mailbox)
887 mum = mud->umessages[dirty]; 887 mum = mud->umessages[dirty];
888 /* Message may have been tampered, break here. */ 888 /* Message may have been tampered, break here. */
889 if ((mum->attr_flags & MU_ATTRIBUTE_MODIFIED) || 889 if ((mum->attr_flags & MU_ATTRIBUTE_MODIFIED) ||
890 (mum->attr_flags & MU_ATTRIBUTE_DELETED) ||
890 (mum->message && message_is_modified (mum->message))) 891 (mum->message && message_is_modified (mum->message)))
891 break; 892 break;
892 } 893 }
......