summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-06 21:34:11 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-06 21:34:11 +0800
commit0a62b727d6bb05f15509a1b152c77afa375647c4 (patch)
tree743e5b83371fc89413bedde8376dbfe565ecd5f9
parent3dc250a6fa7dfdbc8cb4f839c193e02d0f7968f6 (diff)
downloadpttbbs-0a62b727d6bb05f15509a1b152c77afa375647c4.tar
pttbbs-0a62b727d6bb05f15509a1b152c77afa375647c4.tar.gz
pttbbs-0a62b727d6bb05f15509a1b152c77afa375647c4.tar.bz2
pttbbs-0a62b727d6bb05f15509a1b152c77afa375647c4.tar.lz
pttbbs-0a62b727d6bb05f15509a1b152c77afa375647c4.tar.xz
pttbbs-0a62b727d6bb05f15509a1b152c77afa375647c4.tar.zst
pttbbs-0a62b727d6bb05f15509a1b152c77afa375647c4.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@148 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/xyz.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mbbsd/xyz.c b/mbbsd/xyz.c
index ee70c303..1cac394a 100644
--- a/mbbsd/xyz.c
+++ b/mbbsd/xyz.c
@@ -1,4 +1,4 @@
-/* $Id: xyz.c,v 1.3 2002/04/30 13:20:56 lwms Exp $ */
+/* $Id: xyz.c,v 1.4 2002/05/06 13:34:11 ptt Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -151,7 +151,6 @@ static int x_gpl() {
}
#endif
-/* 離開 BBS 站 */
int note() {
static char *fn_note_tmp = "note.tmp";
static char *fn_note_dat = "note.dat";
@@ -183,7 +182,7 @@ int note() {
clrtobot();
outs("\n投五銀... 嗶... 請留言 (至多三行),按[Enter]結束");
for(i = 0; (i < 3) && getdata(16 + i, 0, ":", myitem.buf[i],
- sizeof(myitem.buf[i]), DOECHO)
+ sizeof(myitem.buf[i])-5, DOECHO)
&& *myitem.buf[i]; i++);
getdata(b_lines - 1, 0, "(S)儲存 (E)重新來過 (Q)取消?[S] ",
buf, 3, LCECHO);