Don't throw away the adjusted `runtimer' value.

This commit is contained in:
Stefan Farfeleder 2005-08-05 08:07:02 +00:00
parent d414fcbc3e
commit 3dc44a8992
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148720

View File

@ -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");