summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/cache.c1
-rw-r--r--mbbsd/read.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index 15398ece..8a43cfd6 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -628,6 +628,7 @@ setbottomtotal(int bid)
n = get_num_records(genbuf, sizeof(fileheader_t));
if(n>5)
{
+ log_file("fix_bottom", genbuf, 1);
unlink(genbuf);
SHM->n_bottom[bid-1]=0;
}
diff --git a/mbbsd/read.c b/mbbsd/read.c
index a4edf806..c6c35aea 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -352,6 +352,7 @@ select_read(keeploc_t * locmem, int sr_mode)
currmode & MODE_SELECT ? "增加條件 標題:":"搜尋標題:",
keyword, TTLEN, DOECHO))
return READ_REDRAW;
+ log_file("keyword_search_log", keyword, 1);
}
else if(sr_mode & RS_TITLE)
strcpy(keyword, subject(fh->title));