diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-08-05 08:07:02 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-08-05 08:07:02 +0000 |
commit | 28efe1298066e09976ffa091aca849e1e7d2c576 (patch) | |
tree | 2b7c2e4cac2f46ffdb6d04f037049fe02c4b4f44 | |
parent | d6f323c63a771e6a7d5f5b697f1d516ef8a9d8d5 (diff) | |
download | FreeBSD-src-28efe1298066e09976ffa091aca849e1e7d2c576.zip FreeBSD-src-28efe1298066e09976ffa091aca849e1e7d2c576.tar.gz |
Don't throw away the adjusted `runtimer' value.
-rw-r--r-- | usr.bin/at/parsetime.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/at/parsetime.c b/usr.bin/at/parsetime.c index 4590ad1..58c61c4 100644 --- a/usr.bin/at/parsetime.c +++ b/usr.bin/at/parsetime.c @@ -623,10 +623,8 @@ parsetime(int argc, char **argv) */ runtime.tm_isdst = -1; runtimer = mktime(&runtime); - if (runtime.tm_isdst > 0) { + if (runtime.tm_isdst > 0) runtimer -= 3600; - runtimer = mktime(&runtime); - } if (runtimer < 0) panic("garbled time"); |