commit bbc2858: [Minor] Oops, fix format string

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Feb 7 09:56:10 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-02-07 09:53:29 +0000
URL: https://github.com/rspamd/rspamd/commit/bbc28582c82e1495bbc31904102d4db8684a7f31 (HEAD -> master)

[Minor] Oops, fix format string

---
 src/libmime/lang_detection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libmime/lang_detection.c b/src/libmime/lang_detection.c
index eac353f34..f27d71a76 100644
--- a/src/libmime/lang_detection.c
+++ b/src/libmime/lang_detection.c
@@ -1701,7 +1701,7 @@ rspamd_language_detector_try_stop_words (struct rspamd_task *task,
 
 		if (max_rate > 0 && sel) {
 			msg_debug_lang_det ("set language based on stop words script %s, %.3f found",
-					sel, max_rate);
+					sel->name, max_rate);
 			rspamd_language_detector_set_language (task, part,
 					sel->name, sel);
 


More information about the Commits mailing list