summaryrefslogtreecommitdiffstats
path: root/mbbsd/more.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-12-26 14:35:16 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-12-26 14:35:16 +0800
commit5813df022c5ad24bc6f2d149884b035f6ba55721 (patch)
tree283d5ce092c0072fe19b72f6ffadc17c3c6b5622 /mbbsd/more.c
parent0e1c81d4038faf0b4249899f56d1ead86ffd216f (diff)
downloadpttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.tar
pttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.tar.gz
pttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.tar.bz2
pttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.tar.lz
pttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.tar.xz
pttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.tar.zst
pttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.zip
Ptt_prints prototype changed, length of input string should be given
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3459 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/more.c')
-rw-r--r--mbbsd/more.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/more.c b/mbbsd/more.c
index 192f1aae..5fe300bf 100644
--- a/mbbsd/more.c
+++ b/mbbsd/more.c
@@ -268,9 +268,9 @@ more(char *fpath, int promptend)
strlcat(msg, buf1, sizeof(msg));
}
strlcat(msg, pos1, sizeof(msg));
- outs(Ptt_prints(msg, NO_RELOAD));
+ outs(Ptt_prints(msg, sizeof(msg), NO_RELOAD));
} else
- outs(Ptt_prints(buf, NO_RELOAD));
+ outs(Ptt_prints(buf, sizeof(buf), NO_RELOAD));
}
if (word) {
outs(ANSI_RESET);