summaryrefslogtreecommitdiffstats
path: root/src/plugins/chartable.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-14 14:35:52 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-14 14:35:52 +0000
commit0064208668433a36973f828adf1db81b6e418f78 (patch)
treea0f7d6a09ccd04daa793ae864a75d0733ae6b41e /src/plugins/chartable.c
parenta3255c5529cf57fb07ffb9d1b35bfc85168497d0 (diff)
downloadrspamd-0064208668433a36973f828adf1db81b6e418f78.tar.gz
rspamd-0064208668433a36973f828adf1db81b6e418f78.zip
[Fix] Fix tokens usage
Diffstat (limited to 'src/plugins/chartable.c')
-rw-r--r--src/plugins/chartable.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/chartable.c b/src/plugins/chartable.c
index 172a69261..6e55ad358 100644
--- a/src/plugins/chartable.c
+++ b/src/plugins/chartable.c
@@ -254,7 +254,8 @@ rspamd_chartable_process_word_utf (struct rspamd_task *task,
}
}
- msg_debug_chartable ("word %T, badness: %.2f", w, badness);
+ msg_debug_chartable ("word %*s, badness: %.2f", (gint)w->len, w->begin,
+ badness);
return badness;
}
@@ -337,7 +338,8 @@ rspamd_chartable_process_word_ascii (struct rspamd_task *task,
badness = 4.0;
}
- msg_debug_chartable ("word %T, badness: %.2f", w, badness);
+ msg_debug_chartable ("word %*s, badness: %.2f", (gint)w->len, w->begin,
+ badness);
return badness;
}