summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-15 08:40:58 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-15 08:40:58 +0800
commit9d3f932de69b40ed8da03e29a91a4b60a1f4f603 (patch)
treee4fb1346ced3b6395f4d59b31f503aac98a73884 /mbbsd/read.c
parente550588f5f3a3628bae4aed354e0819e0daaf03e (diff)
downloadpttbbs-9d3f932de69b40ed8da03e29a91a4b60a1f4f603.tar
pttbbs-9d3f932de69b40ed8da03e29a91a4b60a1f4f603.tar.gz
pttbbs-9d3f932de69b40ed8da03e29a91a4b60a1f4f603.tar.bz2
pttbbs-9d3f932de69b40ed8da03e29a91a4b60a1f4f603.tar.lz
pttbbs-9d3f932de69b40ed8da03e29a91a4b60a1f4f603.tar.xz
pttbbs-9d3f932de69b40ed8da03e29a91a4b60a1f4f603.tar.zst
pttbbs-9d3f932de69b40ed8da03e29a91a4b60a1f4f603.zip
small bug fixed
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1763 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 e8a39da9..332cc0bb 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -816,7 +816,7 @@ get_records_and_bottom(char *direct, fileheader_t* headers,
sprintf(directbottom, "%s.bottom", direct);
if (n<=0)
return get_records(directbottom, headers, sizeof(fileheader_t), 1-n,
- last_line-recbase);
+ last_line-recbase + 1);
rv = get_records(direct, headers, sizeof(fileheader_t), recbase, n);