summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
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
commit1c0cee86595aa68eb9ba4eae1b4a5ea45ed25732 (patch)
tree7c3e80d2ee92fbfd46b59137b929084e9b81e2fe /mbbsd/bbs.c
parentc46570a366fb9d9b2854375c52768844bab9c7f1 (diff)
downloadpttbbs-1c0cee86595aa68eb9ba4eae1b4a5ea45ed25732.tar
pttbbs-1c0cee86595aa68eb9ba4eae1b4a5ea45ed25732.tar.gz
pttbbs-1c0cee86595aa68eb9ba4eae1b4a5ea45ed25732.tar.bz2
pttbbs-1c0cee86595aa68eb9ba4eae1b4a5ea45ed25732.tar.lz
pttbbs-1c0cee86595aa68eb9ba4eae1b4a5ea45ed25732.tar.xz
pttbbs-1c0cee86595aa68eb9ba4eae1b4a5ea45ed25732.tar.zst
pttbbs-1c0cee86595aa68eb9ba4eae1b4a5ea45ed25732.zip
fix deleted brd
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@359 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index cf3618b3..44442a45 100644
--- a/mbbsd/bbs.c
+++ b/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));
}
}