diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-25 22:20:36 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-25 22:20:36 +0800 |
commit | a08baf738de7959e912f5b12314da85eaea5a3c9 (patch) | |
tree | 728b6c056cdbb67dc8579b5d789a967c1ad9858e /mbbsd/stuff.c | |
parent | 1ebeeb92186b0631fe1f04ffed1e6a150b2a40e6 (diff) | |
download | pttbbs-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.c | 2 |
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); |