diff options
-rw-r--r-- | include/proto.h | 3 | ||||
-rw-r--r-- | mbbsd/bbs.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/proto.h b/include/proto.h index ee32cd2d..8cccf526 100644 --- a/include/proto.h +++ b/include/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.21 2002/06/06 21:34:09 in2 Exp $ */ +/* $Id: proto.h,v 1.22 2002/06/23 03:50:56 ptt Exp $ */ #ifndef INCLUDE_PROTO_H #define INCLUDE_PROTO_H @@ -391,6 +391,7 @@ void initscr(); void Jaky_outs(char *str, int line); /* stuff */ +time_t gettime(int line, time_t dt); void setcalfile(char *buf, char *userid); void stand_title(char *title); void pressanykey(); diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 39ba5a1f..8b64022b 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1,4 +1,4 @@ -/* $Id: bbs.c,v 1.58 2002/06/23 03:50:14 ptt Exp $ */ +/* $Id: bbs.c,v 1.59 2002/06/23 03:52:31 ptt Exp $ */ #include "bbs.h" static void mail_by_link(char* owner, char* title, char* path) { @@ -1510,7 +1510,7 @@ int b_note_edit_bname(int bid) { outs(msg_cancel); pressanykey(); } else { - if(!getdata_buf(2, 0, "設定有效期限天?(n/Y)", buf, 3, LCECHO) + if(!getdata(2, 0, "設定有效期限天?(n/Y)", buf, 3, LCECHO) || buf[0]!='n') fh->bupdate = gettime(3, fh->bupdate?fh->bupdate:now); else |