summaryrefslogtreecommitdiffstats
path: root/mbbsd/stuff.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-25 22:20:36 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-25 22:20:36 +0800
commita08baf738de7959e912f5b12314da85eaea5a3c9 (patch)
tree728b6c056cdbb67dc8579b5d789a967c1ad9858e /mbbsd/stuff.c
parent1ebeeb92186b0631fe1f04ffed1e6a150b2a40e6 (diff)
downloadpttbbs-a08baf738de7959e912f5b12314da85eaea5a3c9.tar
pttbbs-a08baf738de7959e912f5b12314da85eaea5a3c9.tar.gz
pttbbs-a08baf738de7959e912f5b12314da85eaea5a3c9.tar.bz2
pttbbs-a08baf738de7959e912f5b12314da85eaea5a3c9.tar.lz
pttbbs-a08baf738de7959e912f5b12314da85eaea5a3c9.tar.xz
pttbbs-a08baf738de7959e912f5b12314da85eaea5a3c9.tar.zst
pttbbs-a08baf738de7959e912f5b12314da85eaea5a3c9.zip
enlarge getansPtt.read@1861
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1856 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r--mbbsd/stuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c
index 3141cc26..7f5e495a 100644
--- a/mbbsd/stuff.c
+++ b/mbbsd/stuff.c
@@ -428,7 +428,7 @@ vmsg_lines(const int lines, const char msg[])
int
getans(const char *fmt,...)
{
- char msg[80] = {0};
+ char msg[128] = {0};
va_list ap;
va_start(ap, fmt);
vsnprintf(msg, sizeof(msg), fmt, ap);