summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-22 23:06:00 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-22 23:06:00 +0800
commit6b2171aa7ae678b5456d21ce9a8940af486ac155 (patch)
tree9c4841a5d491ea7f45231cb14bf76e4680ecec96
parent7db465ff72713cf8e825a0ac2f86abb3a51eefad (diff)
downloadpttbbs-6b2171aa7ae678b5456d21ce9a8940af486ac155.tar
pttbbs-6b2171aa7ae678b5456d21ce9a8940af486ac155.tar.gz
pttbbs-6b2171aa7ae678b5456d21ce9a8940af486ac155.tar.bz2
pttbbs-6b2171aa7ae678b5456d21ce9a8940af486ac155.tar.lz
pttbbs-6b2171aa7ae678b5456d21ce9a8940af486ac155.tar.xz
pttbbs-6b2171aa7ae678b5456d21ce9a8940af486ac155.tar.zst
pttbbs-6b2171aa7ae678b5456d21ce9a8940af486ac155.zip
fix last committed bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@959 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index 1c7aeb16..e6620cb4 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.22 2003/06/22 14:39:55 in2 Exp $ */
+/* $Id: read.c,v 1.23 2003/06/22 15:06:00 in2 Exp $ */
#include "bbs.h"
static fileheader_t *headers = NULL;
@@ -845,8 +845,8 @@ i_read(int cmdmode, char *direct, void (*dotitle) (), void (*doentry) (), onekey
locmem->top_ln = recbase;
}
if( bidcache > 0 &&
- !(currmode & (MODE_SELECT | MODE_DIGEST)
- && (last_line - recbase) < DIRCACHESIZE) )
+ !(currmode & (MODE_SELECT | MODE_DIGEST)) &&
+ (last_line - recbase) < DIRCACHESIZE )
entries = get_fileheader_cache(currbid, currdirect,
headers, recbase, p_lines);
else