summaryrefslogtreecommitdiff
path: root/pith/msgno.c
diff options
context:
space:
mode:
Diffstat (limited to 'pith/msgno.c')
-rw-r--r--pith/msgno.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pith/msgno.c b/pith/msgno.c
index 75669225..743c99f3 100644
--- a/pith/msgno.c
+++ b/pith/msgno.c
@@ -270,6 +270,9 @@ msgno_exclude_deleted(MAILSTREAM *stream, MSGNO_S *msgs, char *sequence)
*/
(void) count_flagged(stream, F_DEL);
+ if(sequence)
+ mail_sequence (stream,sequence);
+
/*
* Start with the end of the folder and work backwards so that
* msgno_exclude doesn't have to shift the entire array each time when