diff options
Diffstat (limited to 'src/libutil/util.c')
-rw-r--r-- | src/libutil/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c index 0ddbaf9ef..9d87d5c9f 100644 --- a/src/libutil/util.c +++ b/src/libutil/util.c @@ -2654,7 +2654,7 @@ rspamd_tm_to_time (const struct tm *tm, glong tz) result += tm->tm_sec; /* Now apply tz offset */ - result += offset; + result -= offset; return result; } |