diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-23 11:50:14 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-23 11:50:14 +0800 |
commit | d47fe901bf9eade78fcfacc5945d84a13040e697 (patch) | |
tree | 67dd4b5150896b1cf8f94805c56cf1dbeeb972f1 /mbbsd/stuff.c | |
parent | 19e940b90afb841d30dfde1dd0469226b70d1b50 (diff) | |
download | pttbbs-d47fe901bf9eade78fcfacc5945d84a13040e697.tar pttbbs-d47fe901bf9eade78fcfacc5945d84a13040e697.tar.gz pttbbs-d47fe901bf9eade78fcfacc5945d84a13040e697.tar.bz2 pttbbs-d47fe901bf9eade78fcfacc5945d84a13040e697.tar.lz pttbbs-d47fe901bf9eade78fcfacc5945d84a13040e697.tar.xz pttbbs-d47fe901bf9eade78fcfacc5945d84a13040e697.tar.zst pttbbs-d47fe901bf9eade78fcfacc5945d84a13040e697.zip |
auto expire gamble
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r-- | mbbsd/stuff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c index f11ff9d5..750158a2 100644 --- a/mbbsd/stuff.c +++ b/mbbsd/stuff.c @@ -1,4 +1,4 @@ -/* $Id: stuff.c,v 1.4 2002/06/23 03:33:07 ptt Exp $ */ +/* $Id: stuff.c,v 1.5 2002/06/23 03:50:14 ptt Exp $ */ #include "bbs.h" /* ----------------------------------------------------- */ @@ -287,7 +287,7 @@ time_t gettime(int line, time_t dt) }while((endtime.tm_mday = atoi(yn))<1 || endtime.tm_mday>31); sprintf(yn, "%d", ptime->tm_hour); do{ - getdata_buf(line, 22, "®É(0-23):", yn, 3, LCECHO); + getdata_buf(line, 31, "®É(0-23):", yn, 3, LCECHO); }while(( endtime.tm_hour = atoi(yn))<0 || endtime.tm_hour>23); return mktime(&endtime); } |