]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix off-by-one error in log message 3469/head
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 11 Aug 2020 14:04:07 +0000 (15:04 +0100)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 11 Aug 2020 14:04:07 +0000 (15:04 +0100)
src/plugins/fuzzy_check.c

index 6a2ad3e072a0010a0b2e63f9bc17cf9757dd70ef..b042ba030b9e5dfdc40b2b7cc5d458e456eebd35 100644 (file)
@@ -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);