summaryrefslogtreecommitdiffstats
path: root/mbbsd/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/cache.c')
-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