summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2013-10-16 00:10:05 -0600
committerEduardo Chappa <chappa@washington.edu>2013-10-16 00:10:05 -0600
commitbdfc834badee92ceeb2befe02f1d065ced5b9ddf (patch)
tree4c5402a4b6fe3b51e521b6bbe75640716379e1c8 /pith
parentee95edb6a42df4b45c82080c32f852781f289a02 (diff)
downloadalpine-bdfc834badee92ceeb2befe02f1d065ced5b9ddf.tar.xz
* 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.
Diffstat (limited to 'pith')
-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