summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-16 13:16:51 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-16 13:16:51 +0800
commite05bdcb86de35af031d6c5e0e3b35619b7ad42db (patch)
treed4df86c10e8ba32ce8f16b86e4f6b5fc65e25623 /mbbsd
parentad753788de6bfe5a05145bf954b4bb43bce9e3ac (diff)
downloadpttbbs-e05bdcb86de35af031d6c5e0e3b35619b7ad42db.tar
pttbbs-e05bdcb86de35af031d6c5e0e3b35619b7ad42db.tar.gz
pttbbs-e05bdcb86de35af031d6c5e0e3b35619b7ad42db.tar.bz2
pttbbs-e05bdcb86de35af031d6c5e0e3b35619b7ad42db.tar.lz
pttbbs-e05bdcb86de35af031d6c5e0e3b35619b7ad42db.tar.xz
pttbbs-e05bdcb86de35af031d6c5e0e3b35619b7ad42db.tar.zst
pttbbs-e05bdcb86de35af031d6c5e0e3b35619b7ad42db.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1771 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/cache.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index b7ecb0be..16eff6d4 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -660,8 +660,10 @@ setbottomtotal(int bid)
n = get_num_records(genbuf, sizeof(fileheader_t));
if(n>5)
{
- log_file("push_bottom.fix", genbuf, 1);
+ char log[512]; // temp to debug for a while
unlink(genbuf);
+ sprintf(log, "%d %s bottom:%d num:%d\n", bid, bh->brdname, SHM->n_bottom[bid-1], n );
+ log_file("push_bottom.fix", genbuf, 1);
SHM->n_bottom[bid-1]=0;
}
else