aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/protocol.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-18 00:10:56 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-18 00:10:56 +0100
commitab15b9a3c95d6c0d37330c96d8827ac59b2fee78 (patch)
tree70a9faf4dc79456cfa4aa804a5ce3dbe5c695024 /src/libserver/protocol.c
parentaf127078a26a41e6254d97f760c2afcfea2110ef (diff)
downloadrspamd-ab15b9a3c95d6c0d37330c96d8827ac59b2fee78.tar.gz
rspamd-ab15b9a3c95d6c0d37330c96d8827ac59b2fee78.zip
Remove legacy fuzzy code completely.
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r--src/libserver/protocol.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c
index a4d78427f..1fedbbb46 100644
--- a/src/libserver/protocol.c
+++ b/src/libserver/protocol.c
@@ -645,20 +645,9 @@ write_hashes_to_log (struct rspamd_task *task, GString *logbuf)
struct mime_text_part *text_part;
guint i;
+ /* TODO: rework parts hashes */
for (i = 0; i < task->text_parts->len; i ++) {
text_part = g_ptr_array_index (task->text_parts, i);
-
- if (text_part->fuzzy) {
- if (i != task->text_parts->len - 1) {
- rspamd_printf_gstring (logbuf,
- " part: %Xd,",
- text_part->fuzzy->h);
- }
- else {
- rspamd_printf_gstring (logbuf, " part: %Xd",
- text_part->fuzzy->h);
- }
- }
}
}