diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-01-25 12:36:25 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-01-25 12:36:25 +0800 |
commit | 78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88 (patch) | |
tree | 437f96f3c6e2547b8b816d77ecd9337aadadf048 /mbbsd/vote.c | |
parent | 73bf6bd6489ef38af4df15ab768bc50744785fdf (diff) | |
download | pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.gz pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.bz2 pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.lz pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.xz pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.zst pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.zip |
use ctime4 for compat on x86_64
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/vote.c')
-rw-r--r-- | mbbsd/vote.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/vote.c b/mbbsd/vote.c index 5dd74229..eb5a576b 100644 --- a/mbbsd/vote.c +++ b/mbbsd/vote.c @@ -288,7 +288,7 @@ b_result_one(vote_buffer_t *vbuf, boardheader_t * fh, int ind, int *total) fclose(xfp); } fprintf(tfp, "%s\n』 щ布いゎ: %s\n\n』 布匡肈ヘ磞瓃:\n\n", - msg_seperator, Cdate(&closetime)); + msg_seperator, ctime4(&closetime)); fh->vtime = now; setbfile(buf, bname, vbuf->desc); @@ -405,7 +405,7 @@ b_closepolls() } if ((cfp = fopen(fn_vote_polling, "w")) == NULL) return 0; - fprintf(cfp, "%d\n%s\n", now, Cdate(&now)); + fprintf(cfp, "%d\n%s\n", now, ctime4(&now)); fclose(cfp); #endif @@ -476,7 +476,7 @@ vote_view(vote_buffer_t *vbuf, char *bname, int vote_index) prints("\n』 箇щ布ㄆ: –程щ %d 布,ヘ玡Τ %d 布,\n" "セΩщ布盢挡 %s", atoi(inbuf), (int)(num / sizeof(short)), - Cdate(&closetime)); + ctime4(&closetime)); /* Thor: 秨 布计 箇 */ setbfile(buf, bname, vbuf->flags); @@ -857,7 +857,7 @@ user_vote_one(vote_buffer_t *vbuf, char *bname, int ind) prints("щ布よΑ絋﹚眤匡拒块ㄤ絏(A, B, C...)\n" "Ωщ布щ %1hd 布 0 щ布, 1 ЧΘщ布, > , < \n" "Ωщ布盢挡%s \n", - tickets, Cdate(&closetime)); + tickets, ctime4(&closetime)); #define REDO_DRAW 1 #define REDO_SCAN 2 |