From 3dc44a8992780b88eaf57b1256acbd14d19c6302 Mon Sep 17 00:00:00 2001 From: Stefan Farfeleder Date: Fri, 5 Aug 2005 08:07:02 +0000 Subject: [PATCH] Don't throw away the adjusted `runtimer' value. --- usr.bin/at/parsetime.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr.bin/at/parsetime.c b/usr.bin/at/parsetime.c index 4590ad120448..58c61c453575 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");