diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-07 03:52:57 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-07 03:52:57 +0800 |
commit | fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b (patch) | |
tree | f3f43d69f0b65589a931b98a634e3b27d2c5d136 /mbbsd/bbs.c | |
parent | bc3952ec2fcbddd3c4820f21c8490ccd8c728a1d (diff) | |
download | pttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.tar pttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.tar.gz pttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.tar.bz2 pttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.tar.lz pttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.tar.xz pttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.tar.zst pttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.zip |
clean up
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 27c8ab25..47eeb65b 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -636,10 +636,10 @@ do_post() static void do_generalboardreply(fileheader_t * fhdr) { - char genbuf[200]; + char genbuf[3]; getdata(b_lines - 1, 0, "▲ 回應至 (F)看板 (M)作者信箱 (B)二者皆是 (Q)取消?[F] ", - genbuf, 3, LCECHO); + genbuf, sizeof(genbuf), LCECHO); switch (genbuf[0]) { case 'm': mail_reply(0, fhdr, 0); |