From 7d4eb6418d9c98b042eac64107e099f402bfd33e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 8 Jan 2016 15:29:41 +0000 Subject: [PATCH] Fix format string --- src/libstat/stat_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c index 9d4c3c7f9..78456018a 100644 --- a/src/libstat/stat_process.c +++ b/src/libstat/stat_process.c @@ -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; } -- 2.39.5