summaryrefslogtreecommitdiffstats
path: root/mbbsd/pmore.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/pmore.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/pmore.c')
-rw-r--r--mbbsd/pmore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c
index 33364e28..26f73a38 100644
--- a/mbbsd/pmore.c
+++ b/mbbsd/pmore.c
@@ -1248,7 +1248,7 @@ mf_display()
override_msg = " 注意: 此頁有控制碼,"
"原內容並不一定有您真實個人資訊";
}
- Ptt_prints(buf, NO_RELOAD); // result in buf
+ Ptt_prints(buf, sizeof(buf), NO_RELOAD); // result in buf
}
i = strlen(buf);