aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-05 14:09:42 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-05 14:09:42 +0100
commit561c57859d7a2c04e836ceaa6d1a554e82a43766 (patch)
treeb510eb7899d4318b6fcb4acfaea54d17a645c4e0
parent4bba6e33a91047f1ea3a0360e6a4480d4b51d26f (diff)
downloadrspamd-561c57859d7a2c04e836ceaa6d1a554e82a43766.tar.gz
rspamd-561c57859d7a2c04e836ceaa6d1a554e82a43766.zip
[Minor] Langdet: Improve debugging slightly
-rw-r--r--src/libmime/lang_detection.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libmime/lang_detection.c b/src/libmime/lang_detection.c
index 0312d009b..bb00fb31d 100644
--- a/src/libmime/lang_detection.c
+++ b/src/libmime/lang_detection.c
@@ -1675,6 +1675,9 @@ rspamd_language_detector_try_stop_words (struct rspamd_task *task,
ret = TRUE;
}
}
+ else {
+ msg_debug_lang_det ("found no stop words in a text");
+ }
kh_destroy (rspamd_sw_hash, cbdata.res);