From 4054fc4fc42e2cc44539ea0e5279f7dc80e7f5c7 Mon Sep 17 00:00:00 2001 From: ptt Date: Thu, 29 Apr 2004 20:59:24 +0000 Subject: reduce io in select_read git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1895 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbbsd/read.c b/mbbsd/read.c index 3bb7219c..32ac0c05 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -358,7 +358,7 @@ select_read(keeploc_t * locmem, int sr_mode) } else { - if(_mode & sr_mode & (RS_TITLE | RS_NEWPOST)) return DONOTHING; + if(_mode & sr_mode & (RS_TITLE | RS_NEWPOST | RS_MARK)) return DONOTHING; // Ptt: only once for these two modes. if(sr_mode & RS_TITLE) strcpy(keyword, subject(fh->title)); -- cgit v1.2.3