diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-05-03 00:43:02 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-05-03 00:43:02 +0800 |
commit | 2df1e51ac9891e87a315eddd67300b70a4dab998 (patch) | |
tree | eb8e1a069eb58e8d2e606810f7b8f6241e6747f8 /mbbsd | |
parent | eb23a7b58d02524e23705cbc62b0bcf078a738c4 (diff) | |
download | pttbbs-2df1e51ac9891e87a315eddd67300b70a4dab998.tar pttbbs-2df1e51ac9891e87a315eddd67300b70a4dab998.tar.gz pttbbs-2df1e51ac9891e87a315eddd67300b70a4dab998.tar.bz2 pttbbs-2df1e51ac9891e87a315eddd67300b70a4dab998.tar.lz pttbbs-2df1e51ac9891e87a315eddd67300b70a4dab998.tar.xz pttbbs-2df1e51ac9891e87a315eddd67300b70a4dab998.tar.zst pttbbs-2df1e51ac9891e87a315eddd67300b70a4dab998.zip |
- fix minute input error
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4264 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/stuff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c index c35f9a52..2498fdbe 100644 --- a/mbbsd/stuff.c +++ b/mbbsd/stuff.c @@ -144,7 +144,7 @@ gettime(int line, time4_t dt, const char*head) snprintf(yn, sizeof(yn), "%d", ptime->tm_min); do { getdata_buf(line, i+42, "¤À(0-59):", yn, 3, NUMECHO); - } while ((endtime.tm_min = atoi(yn)) < 0 || endtime.tm_min > 23); + } while ((endtime.tm_min = atoi(yn)) < 0 || endtime.tm_min > 59); t = mktime(&endtime); /* saturation check */ if(t < 0) |