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

This commit is contained in:
stefanf 2005-08-05 08:07:02 +00:00
parent d6f323c63a
commit 28efe12980

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