summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-26 03:06:22 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-26 03:06:22 +0800
commitacc243fc5d8cd196664f64ccf68c47351a60260a (patch)
treed1689efff77a3a93e0dfeee0549e437dbefcceed /mbbsd/bbs.c
parent85d2b41177d66a43eb0a176c0a9c686569e9e460 (diff)
downloadpttbbs-acc243fc5d8cd196664f64ccf68c47351a60260a.tar
pttbbs-acc243fc5d8cd196664f64ccf68c47351a60260a.tar.gz
pttbbs-acc243fc5d8cd196664f64ccf68c47351a60260a.tar.bz2
pttbbs-acc243fc5d8cd196664f64ccf68c47351a60260a.tar.lz
pttbbs-acc243fc5d8cd196664f64ccf68c47351a60260a.tar.xz
pttbbs-acc243fc5d8cd196664f64ccf68c47351a60260a.tar.zst
pttbbs-acc243fc5d8cd196664f64ccf68c47351a60260a.zip
1.debug select_read problem with "SR" in board name.
2.cache mailsum. get_sum_record is a bad function that cause a lot of IO git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2087 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 1b8a77ce..f2f48a05 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1665,8 +1665,10 @@ del_range(int ent, fileheader_t *fhdr, char *direct)
#endif
fixkeep(direct, inum1);
- if (currmode & MODE_BOARD)
+ if (currmode & MODE_BOARD) // Ptt:update cache
setbtotal(currbid);
+ else if(currstat == RMAIL)
+ touchmailusage();
return DIRCHANGED;
}