Skip to content

Commit c105cf1

Browse files
author
Peter McCluskey
committed
Fixed double counting of messages deleted with the delete_msgnum option
1 parent 38fff35 commit c105cf1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Version Changes for Hypermail
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

4+
Peter McCluskey (Aug 4, 2005)
5+
Fixed double counting of messages deleted with the delete_msgnum option,
6+
which sometimes caused top level index page to show wrong number of
7+
messages and not link to a folder.
8+
49
Peter McCluskey (Jul 29, 2005)
510
Changed to sort on sender date rather than from date when displaying
611
sender date as a result of use_sender_date = 1.

src/struct.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,12 @@ int insert_in_lists(struct emailinfo *emp, const bool * require_filter, int rlen
317317
char num_str[32];
318318
sprintf(num_str, "%d", emp->msgnum);
319319
if (inlist(set_delete_msgnum, num_str)) {
320+
#if 0
320321
if (!emp->is_deleted) {
321322
if (emp->subdir)
322323
--emp->subdir->count;
323324
}
325+
#endif
324326
emp->is_deleted = FILTERED_DELETE;
325327
}
326328
}

0 commit comments

Comments
 (0)