summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-08 16:43:27 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-08 16:43:27 +0800
commit43d8bd219372ba0a7a081563acaa21b96e9265f2 (patch)
tree51eb6bc22ddd26f3cfec4f22b2315f70b17793cc
parentfd3378b3550512df16edf2bd269f8da1858262b8 (diff)
downloadpttbbs-43d8bd219372ba0a7a081563acaa21b96e9265f2.tar
pttbbs-43d8bd219372ba0a7a081563acaa21b96e9265f2.tar.gz
pttbbs-43d8bd219372ba0a7a081563acaa21b96e9265f2.tar.bz2
pttbbs-43d8bd219372ba0a7a081563acaa21b96e9265f2.tar.lz
pttbbs-43d8bd219372ba0a7a081563acaa21b96e9265f2.tar.xz
pttbbs-43d8bd219372ba0a7a081563acaa21b96e9265f2.tar.zst
pttbbs-43d8bd219372ba0a7a081563acaa21b96e9265f2.zip
enlarge the input buffer of del_range
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1308 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 42c3b0ac..e63a4120 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1649,7 +1649,7 @@ del_range(int ent, fileheader_t * fhdr, char *direct)
if (strcmp(bp->brdname, "Security") == 0)
return DONOTHING;
if ((currstat != READING) || (currmode & MODE_BOARD)) {
- getdata(1, 0, "[設定刪除範圍] 起點:", num1, 5, DOECHO);
+ getdata(1, 0, "[設定刪除範圍] 起點:", num1, 6, DOECHO);
inum1 = atoi(num1);
if (inum1 <= 0) {
outmsg("起點有誤");
@@ -1657,7 +1657,7 @@ del_range(int ent, fileheader_t * fhdr, char *direct)
/* safe_sleep(1); */
return FULLUPDATE;
}
- getdata(1, 28, "終點:", num2, 5, DOECHO);
+ getdata(1, 28, "終點:", num2, 6, DOECHO);
inum2 = atoi(num2);
if (inum2 < inum1) {
outmsg("終點有誤");