diff options
author | MadCamel <madcamel@gmail.com> | 2009-05-04 11:37:54 -0400 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-04 20:30:03 +0200 |
commit | 1bfe2a3a61e6469db9d3419e6e00d524598fdfed (patch) | |
tree | 610e484fb72339cb914c405c91684f41cbf7c1ba /src/login | |
parent | fa939d8917abe20709ad72c40496b083cea5f86f (diff) | |
download | tmwa-1bfe2a3a61e6469db9d3419e6e00d524598fdfed.tar.gz tmwa-1bfe2a3a61e6469db9d3419e6e00d524598fdfed.tar.bz2 tmwa-1bfe2a3a61e6469db9d3419e6e00d524598fdfed.tar.xz tmwa-1bfe2a3a61e6469db9d3419e6e00d524598fdfed.zip |
More UTC fixups
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c index 5843c31..e4eb24b 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1520,7 +1520,7 @@ int parse_fromchar(int fd) { tmtime->tm_hour = tmtime->tm_hour + (short)RFIFOW(fd,12); tmtime->tm_min = tmtime->tm_min + (short)RFIFOW(fd,14); tmtime->tm_sec = tmtime->tm_sec + (short)RFIFOW(fd,16); - timestamp = mktime(tmtime); + timestamp = timegm(tmtime); if (timestamp != -1) { if (timestamp <= time(NULL)) timestamp = 0; |