]> granicus.if.org Git - cronie/commitdiff
Because there was typo (- instead of +) jobs wasn't runned after new year.
authormmaslano <mmaslano@redhat.com>
Fri, 24 Aug 2007 06:15:37 +0000 (08:15 +0200)
committerTomas Janousek <tomi@nomi.cz>
Mon, 27 Aug 2007 14:03:54 +0000 (16:03 +0200)
misc.c

diff --git a/misc.c b/misc.c
index fc60b93c7d65eac9d5e0d9dafd89a47bb4ebed60..aab32bb046465cac716cbddea62310bcbee977eb 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -773,7 +773,7 @@ long get_gmtoff(time_t *clock, struct tm *local)
        if (local->tm_year < gmt.tm_year)
                offset -= 24 * 3600;
        else if (local->tm_year > gmt.tm_year)
-               offset -= 24 * 3600;
+               offset += 24 * 3600;
        else if (local->tm_yday < gmt.tm_yday)
                offset -= 24 * 3600;
        else if (local->tm_yday > gmt.tm_yday)