diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-27 11:02:03 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-27 11:02:03 +0800 |
commit | b1bf4e8a767b2feb1dbeb417658ac2c58a13f86b (patch) | |
tree | 7c78fa32a6a8b85877d72add1c83c06eacc3bf56 | |
parent | 9712cfa66ca5765e9943fd7d27266fbd6fb1b733 (diff) | |
download | pttbbs-b1bf4e8a767b2feb1dbeb417658ac2c58a13f86b.tar pttbbs-b1bf4e8a767b2feb1dbeb417658ac2c58a13f86b.tar.gz pttbbs-b1bf4e8a767b2feb1dbeb417658ac2c58a13f86b.tar.bz2 pttbbs-b1bf4e8a767b2feb1dbeb417658ac2c58a13f86b.tar.lz pttbbs-b1bf4e8a767b2feb1dbeb417658ac2c58a13f86b.tar.xz pttbbs-b1bf4e8a767b2feb1dbeb417658ac2c58a13f86b.tar.zst pttbbs-b1bf4e8a767b2feb1dbeb417658ac2c58a13f86b.zip |
select_read again -_-
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1871 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/read.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c index e1da5629..7737f632 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -376,13 +376,13 @@ select_read(keeploc_t * locmem, int sr_mode) reference++; if(sr_mode & RS_MARK && !(fhs[i].filemode & FILE_MARKED)) continue; - else if(sr_mode & RS_NEWPOST && + if(sr_mode & RS_NEWPOST && !strncmp(fhs[i].title, "Re:", 3)) continue; - else if(sr_mode & RS_AUTHOR && + if(sr_mode & RS_AUTHOR && !strcasestr(fhs[i].owner, keyword)) continue; - else if(sr_mode & RS_KEYWORD && + if(sr_mode & RS_KEYWORD && !strcasestr(fhs[i].title, keyword)) continue; - else if(sr_mode & RS_TITLE && + if(sr_mode & RS_TITLE && strcmp(subject(fhs[i].title), keyword)) continue; count ++; |