commit 790e5e1: [Minor] Fix log message

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Jan 28 17:07:05 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-01-28 16:11:52 +0000
URL: https://github.com/rspamd/rspamd/commit/790e5e17aef6ed6a205f3eeb1d1437c9161a6750 (HEAD -> master)

[Minor] Fix log message

---
 src/libmime/message.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libmime/message.c b/src/libmime/message.c
index b7d43e356..da065195d 100644
--- a/src/libmime/message.c
+++ b/src/libmime/message.c
@@ -562,8 +562,8 @@ rspamd_words_levenshtein_distance (struct rspamd_task *task,
 	s2len = w2->len;
 
 	if (s1len + s2len > max_words) {
-		msg_err_task ("cannot compare parts with more than %ud words: %ud",
-				max_words, s1len);
+		msg_err_task ("cannot compare parts with more than %ud words: (%ud + %ud)",
+				max_words, s1len, s2len);
 		return 0;
 	}
 


More information about the Commits mailing list