summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-27 10:55:15 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-27 10:55:15 +0800
commit9712cfa66ca5765e9943fd7d27266fbd6fb1b733 (patch)
treeb832ada54c9995e1712e243e8843adabbedfe0e4
parentecc0526f295eb4bf9ba07112efd3bca9d710e771 (diff)
downloadpttbbs-9712cfa66ca5765e9943fd7d27266fbd6fb1b733.tar
pttbbs-9712cfa66ca5765e9943fd7d27266fbd6fb1b733.tar.gz
pttbbs-9712cfa66ca5765e9943fd7d27266fbd6fb1b733.tar.bz2
pttbbs-9712cfa66ca5765e9943fd7d27266fbd6fb1b733.tar.lz
pttbbs-9712cfa66ca5765e9943fd7d27266fbd6fb1b733.tar.xz
pttbbs-9712cfa66ca5765e9943fd7d27266fbd6fb1b733.tar.zst
pttbbs-9712cfa66ca5765e9943fd7d27266fbd6fb1b733.zip
select_read commit again
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1870 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index 1550751b..e1da5629 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -379,9 +379,9 @@ select_read(keeploc_t * locmem, int sr_mode)
else if(sr_mode & RS_NEWPOST &&
!strncmp(fhs[i].title, "Re:", 3)) continue;
else if(sr_mode & RS_AUTHOR &&
- strcasestr(fhs[i].owner, keyword)) continue;
+ !strcasestr(fhs[i].owner, keyword)) continue;
else if(sr_mode & RS_KEYWORD &&
- strcasestr(fhs[i].title, keyword)) continue;
+ !strcasestr(fhs[i].title, keyword)) continue;
else if(sr_mode & RS_TITLE &&
strcmp(subject(fhs[i].title), keyword))
continue;