From e05bdcb86de35af031d6c5e0e3b35619b7ad42db Mon Sep 17 00:00:00 2001 From: ptt Date: Fri, 16 Apr 2004 05:16:51 +0000 Subject: git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1771 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/cache.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3