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)
msgset_t *next = p->next;
if (util_isdeleted (p->msg_part[0]))
{
if ((flags & MSG_SILENT)
&& prev != NULL
&& next != NULL)
if ((flags & MSG_SILENT) && (prev || next))
{
/* Mark subset as deleted */
p->next = delset;
......