summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-27 13:04:05 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-27 13:04:05 +0800
commit669158ebbf8b97b044bb2735bee11c533470805b (patch)
treebd120f19dcf12fd2a4bb2608d3f92bd01ad18a30 /mbbsd/bbs.c
parentb1bf4e8a767b2feb1dbeb417658ac2c58a13f86b (diff)
downloadpttbbs-669158ebbf8b97b044bb2735bee11c533470805b.tar
pttbbs-669158ebbf8b97b044bb2735bee11c533470805b.tar.gz
pttbbs-669158ebbf8b97b044bb2735bee11c533470805b.tar.bz2
pttbbs-669158ebbf8b97b044bb2735bee11c533470805b.tar.lz
pttbbs-669158ebbf8b97b044bb2735bee11c533470805b.tar.xz
pttbbs-669158ebbf8b97b044bb2735bee11c533470805b.tar.zst
pttbbs-669158ebbf8b97b044bb2735bee11c533470805b.zip
buf overflow of vmsg
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1872 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 3ac99fd7..9f07f2e3 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1879,7 +1879,7 @@ view_postmoney(int ent, fileheader_t * fhdr, char *direct)
if(fhdr->filemode & FILE_ANONYMOUS)
/* When the file is anonymous posted, fhdr->money is author.
* see do_general() */
- vmsg("匿名管理編號: %d (同一人被查詢時編號相同, 此編號每人看到不相同)",
+ vmsg("匿名管理編號: %d (同一人號碼會一樣)",
fhdr->money + currutmp->pid);
else
vmsg("這一篇文章值 %d 銀", fhdr->money);