summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-30 04:59:24 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-30 04:59:24 +0800
commit4054fc4fc42e2cc44539ea0e5279f7dc80e7f5c7 (patch)
tree772b15137bc1969c61b93e4cd54bd7f19f46ab5c /mbbsd/read.c
parentb5edd925b5d39dcc042c67955ff637eb3666404f (diff)
downloadpttbbs-4054fc4fc42e2cc44539ea0e5279f7dc80e7f5c7.tar
pttbbs-4054fc4fc42e2cc44539ea0e5279f7dc80e7f5c7.tar.gz
pttbbs-4054fc4fc42e2cc44539ea0e5279f7dc80e7f5c7.tar.bz2
pttbbs-4054fc4fc42e2cc44539ea0e5279f7dc80e7f5c7.tar.lz
pttbbs-4054fc4fc42e2cc44539ea0e5279f7dc80e7f5c7.tar.xz
pttbbs-4054fc4fc42e2cc44539ea0e5279f7dc80e7f5c7.tar.zst
pttbbs-4054fc4fc42e2cc44539ea0e5279f7dc80e7f5c7.zip
reduce io in select_read
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1895 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r--mbbsd/read.c2
1 files changed, 1 insertions, 1 deletions
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));