Commit be61f27a be61f27a31c8a54bb2de08f6fd9fd5391678f515 by Sergey Poznyakoff

Was displaying `inappropriate message' diagnostics if the first message from the…

… set was deleted. Fixed.
1 parent 01cb470e
...@@ -719,9 +719,7 @@ check_set (msgset_t **pset) ...@@ -719,9 +719,7 @@ check_set (msgset_t **pset)
719 msgset_t *next = p->next; 719 msgset_t *next = p->next;
720 if (util_isdeleted (p->msg_part[0])) 720 if (util_isdeleted (p->msg_part[0]))
721 { 721 {
722 if ((flags & MSG_SILENT) 722 if ((flags & MSG_SILENT) && (prev || next))
723 && prev != NULL
724 && next != NULL)
725 { 723 {
726 /* Mark subset as deleted */ 724 /* Mark subset as deleted */
727 p->next = delset; 725 p->next = delset;
......