From bdfc834badee92ceeb2befe02f1d065ced5b9ddf Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Wed, 16 Oct 2013 00:10:05 -0600 Subject: * Fix to UID EXPUNGE support for newsgroups. count_flagged erases the sequence bit, so we reinstate it by calling mail_sequence on the sequence parameter to the msgno_exclude_* function. No bump in version yet. --- pith/msgno.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pith') 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 -- cgit v1.2.3-54-g00ecf