commit f98037d: [Minor] Fix off-by-one error in log message
Anton Yuzhaninov
citrin+git at citrin.ru
Tue Aug 11 19:21:06 UTC 2020
Author: Anton Yuzhaninov
Date: 2020-08-11 15:04:07 +0100
URL: https://github.com/rspamd/rspamd/commit/f98037d70fbb1740bd1ffd80b0aaf55d587fe9c5 (refs/pull/3469/head)
[Minor] Fix off-by-one error in log message
---
src/plugins/fuzzy_check.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
More information about the Commits
mailing list