From dd37dc8252cf8bd0fef546c13514513126c1458e Mon Sep 17 00:00:00 2001 From: ptt Date: Sat, 1 May 2004 04:03:59 +0000 Subject: fix cursor problem for select_read git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1905 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/read.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mbbsd/read.c b/mbbsd/read.c index ea3c6305..ea8dd169 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -407,7 +407,8 @@ select_read(keeploc_t * locmem, int sr_mode) strcmp(subject(fhs[i].title), keyword)) continue; ++count; - fhs[i].money = reference | FHR_REFERENCE; + if(p == NULL) + fhs[i].money = reference | FHR_REFERENCE; write(fd, &fhs[i], sizeof(fileheader_t)); } } // end while -- cgit v1.2.3