diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-18 00:10:56 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-18 00:10:56 +0100 |
commit | ab15b9a3c95d6c0d37330c96d8827ac59b2fee78 (patch) | |
tree | 70a9faf4dc79456cfa4aa804a5ce3dbe5c695024 /src/libserver/protocol.c | |
parent | af127078a26a41e6254d97f760c2afcfea2110ef (diff) | |
download | rspamd-ab15b9a3c95d6c0d37330c96d8827ac59b2fee78.tar.gz rspamd-ab15b9a3c95d6c0d37330c96d8827ac59b2fee78.zip |
Remove legacy fuzzy code completely.
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r-- | src/libserver/protocol.c | 13 |
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); - } - } } } |