From 1c0cee86595aa68eb9ba4eae1b4a5ea45ed25732 Mon Sep 17 00:00:00 2001 From: ptt Date: Wed, 26 Jun 2002 08:47:51 +0000 Subject: fix deleted brd git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@359 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mbbsd/bbs.c') 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)); } } -- cgit v1.2.3