From: Anton Yuzhaninov Date: Tue, 11 Aug 2020 14:04:07 +0000 (+0100) Subject: [Minor] Fix off-by-one error in log message X-Git-Tag: 2.6~160^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F3469%2Fhead;p=rspamd.git [Minor] Fix off-by-one error in log message --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 6a2ad3e07..b042ba030 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -2164,7 +2164,7 @@ fuzzy_insert_result (struct fuzzy_client_session *session, rspamd_gmtime (rep->ts, &tm_split); rspamd_snprintf (timebuf, sizeof (timebuf), "%02d.%02d.%4d %02d:%02d:%02d GMT", tm_split.tm_mday, - tm_split.tm_mon, + tm_split.tm_mon + 1, tm_split.tm_year + 1900, tm_split.tm_hour, tm_split.tm_min, tm_split.tm_sec);