summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-26 16:47:51 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-26 16:47:51 +0800
commitee75ea5077c0981be92d20089ef1d2229767298a (patch)
tree01ec352c391f94c84e0be07353ef14d9a85e69eb
parent94c3d406a0b316cee9f46c5ff0c98648d2f214c0 (diff)
downloadpttbbs-ee75ea5077c0981be92d20089ef1d2229767298a.tar
pttbbs-ee75ea5077c0981be92d20089ef1d2229767298a.tar.gz
pttbbs-ee75ea5077c0981be92d20089ef1d2229767298a.tar.bz2
pttbbs-ee75ea5077c0981be92d20089ef1d2229767298a.tar.lz
pttbbs-ee75ea5077c0981be92d20089ef1d2229767298a.tar.xz
pttbbs-ee75ea5077c0981be92d20089ef1d2229767298a.tar.zst
pttbbs-ee75ea5077c0981be92d20089ef1d2229767298a.zip
fix deleted brd
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@359 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/bbs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index cf3618b3..44442a45 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -1,4 +1,4 @@
-/* $Id: bbs.c,v 1.60 2002/06/23 03:57:48 ptt Exp $ */
+/* $Id: bbs.c,v 1.61 2002/06/26 08:47:51 ptt Exp $ */
#include "bbs.h"
static void mail_by_link(char* owner, char* title, char* path) {
@@ -323,6 +323,7 @@ static void cancelpost(fileheader_t *fh, int by_BM) {
fclose(fin);
Rename(fn1, fn2);
setbdir(genbuf, brd);
+ setbtotal(getbnum(brd));
append_record(genbuf, &postfile, sizeof(postfile));
}
}