]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Langdet: Improve debugging slightly
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 5 Jun 2019 13:09:42 +0000 (14:09 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 5 Jun 2019 13:09:42 +0000 (14:09 +0100)
src/libmime/lang_detection.c

index 0312d009be660946cb0c0410055095e430f4eaa4..bb00fb31de8ad2fa0cd519fe738daded22ad8469 100644 (file)
@@ -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);