diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-23 11:52:31 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-23 11:52:31 +0800 |
commit | d44f89e097d1ee7f049fa1a56da358cb4285e713 (patch) | |
tree | b7afebbe7e980d19f55a25826b7b92ae34b1257c | |
parent | 84d5a60a3b12b80659ea417bcd3155dceb9d5109 (diff) | |
download | pttbbs-d44f89e097d1ee7f049fa1a56da358cb4285e713.tar pttbbs-d44f89e097d1ee7f049fa1a56da358cb4285e713.tar.gz pttbbs-d44f89e097d1ee7f049fa1a56da358cb4285e713.tar.bz2 pttbbs-d44f89e097d1ee7f049fa1a56da358cb4285e713.tar.lz pttbbs-d44f89e097d1ee7f049fa1a56da358cb4285e713.tar.xz pttbbs-d44f89e097d1ee7f049fa1a56da358cb4285e713.tar.zst pttbbs-d44f89e097d1ee7f049fa1a56da358cb4285e713.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@343 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/include/proto.h | 3 | ||||
-rw-r--r-- | pttbbs/mbbsd/bbs.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/pttbbs/include/proto.h b/pttbbs/include/proto.h index ee32cd2d..8cccf526 100644 --- a/pttbbs/include/proto.h +++ b/pttbbs/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/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index 39ba5a1f..8b64022b 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/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 |