aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_process.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-08 15:29:41 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-08 15:29:41 +0000
commit7d4eb6418d9c98b042eac64107e099f402bfd33e (patch)
treefbc43a75daf3afc5cf6b1df1051f4b74db3ad183 /src/libstat/stat_process.c
parent239e9d59b1bd186c21b8c4f873516a50ed5bfd43 (diff)
downloadrspamd-7d4eb6418d9c98b042eac64107e099f402bfd33e.tar.gz
rspamd-7d4eb6418d9c98b042eac64107e099f402bfd33e.zip
Fix format string
Diffstat (limited to 'src/libstat/stat_process.c')
-rw-r--r--src/libstat/stat_process.c2
1 files changed, 1 insertions, 1 deletions
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;
}