summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-29 23:39:13 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-29 23:39:13 +0800
commit4b2f5eeff9950ef1b7dd620d77efffc876aa76fa (patch)
tree9e9d860e4c4b96253d4d888415ad9deab9db2677
parentf0ccddf0a19dc7b9d1e14e83d49801b2e8f72eca (diff)
downloadpttbbs-4b2f5eeff9950ef1b7dd620d77efffc876aa76fa.tar
pttbbs-4b2f5eeff9950ef1b7dd620d77efffc876aa76fa.tar.gz
pttbbs-4b2f5eeff9950ef1b7dd620d77efffc876aa76fa.tar.bz2
pttbbs-4b2f5eeff9950ef1b7dd620d77efffc876aa76fa.tar.lz
pttbbs-4b2f5eeff9950ef1b7dd620d77efffc876aa76fa.tar.xz
pttbbs-4b2f5eeff9950ef1b7dd620d77efffc876aa76fa.tar.zst
pttbbs-4b2f5eeff9950ef1b7dd620d77efffc876aa76fa.zip
add 2 logs for analysis
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1888 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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));