summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-27 21:53:27 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-27 21:53:27 +0800
commite5c3a9899bc3d11d3b4bf84058fc6f259cfab807 (patch)
tree163a0c4efb8fb4088cf9170d69ce7d11f22b9727
parent638bfeca105f64a85f1e8696ee9144968e4c33c6 (diff)
downloadpttbbs-e5c3a9899bc3d11d3b4bf84058fc6f259cfab807.tar
pttbbs-e5c3a9899bc3d11d3b4bf84058fc6f259cfab807.tar.gz
pttbbs-e5c3a9899bc3d11d3b4bf84058fc6f259cfab807.tar.bz2
pttbbs-e5c3a9899bc3d11d3b4bf84058fc6f259cfab807.tar.lz
pttbbs-e5c3a9899bc3d11d3b4bf84058fc6f259cfab807.tar.xz
pttbbs-e5c3a9899bc3d11d3b4bf84058fc6f259cfab807.tar.zst
pttbbs-e5c3a9899bc3d11d3b4bf84058fc6f259cfab807.zip
fix off-by-one bug.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3088 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index d5395d6b..9b3e1666 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -295,7 +295,7 @@ static void
readdoent(int num, fileheader_t * ent)
{
int type;
- char *mark, *title, color, special = 0, isonline = 0, recom[5];
+ char *mark, *title, color, special = 0, isonline = 0, recom[8];
userinfo_t *uentp;
type = brc_unread(ent->filename, brc_num, brc_list) ? '+' : ' ';
if ((currmode & MODE_BOARD) && (ent->filemode & FILE_DIGEST))