]> source.dussan.org Git - rspamd.git/commitdiff
Fix format string
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 8 Jan 2016 15:29:41 +0000 (15:29 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 8 Jan 2016 15:29:41 +0000 (15:29 +0000)
src/libstat/stat_process.c

index 9d4c3c7f9b02ace7709336a40cd2591467503a4b..78456018acc604ca6c3fa9e387db44692feec24a 100644 (file)
@@ -659,7 +659,7 @@ rspamd_stat_has_classifier_symbols (struct rspamd_task *task,
                if (g_hash_table_lookup (mres->symbols, st->stcf->symbol)) {
                        if (is_spam == !!st->stcf->is_spam) {
                                msg_debug_task ("do not autolearn %s as symbol %s is already "
-                                               "added", st->stcf->symbol);
+                                               "added", is_spam ? "spam" : "ham", st->stcf->symbol);
 
                                return TRUE;
                        }