diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-12 12:16:04 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-12 12:33:41 +0000 |
commit | f5beedafa37270026d406df26dae112c6eac353c (patch) | |
tree | b5c82a31ca8fc8b8dbc691583e050b426eac2006 /src/plugins/fuzzy_check.c | |
parent | 71667af2864c631088555b55edd23028ee77a145 (diff) | |
download | rspamd-f5beedafa37270026d406df26dae112c6eac353c.tar.gz rspamd-f5beedafa37270026d406df26dae112c6eac353c.zip |
[Minor] Print full fuzzy hash digest in the logs
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r-- | src/plugins/fuzzy_check.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 8d1d1c226..e08e4a70f 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -1462,7 +1462,7 @@ fuzzy_insert_result (struct fuzzy_client_session *session, msg_info_task ( "found fuzzy hash %*xs with weight: " "%.2f, in list: %s:%d%s", - rspamd_fuzzy_hash_len, cmd->digest, + (gint)sizeof (cmd->digest), cmd->digest, nval, symbol, rep->flag, @@ -1776,7 +1776,7 @@ fuzzy_controller_io_callback (gint fd, short what, void *arg) if (rep->prob > 0.5) { msg_info_task ("processed fuzzy hash %*xs, list: %s:%d for " "message <%s>", - rspamd_fuzzy_hash_len, cmd->digest, + (gint)sizeof (cmd->digest), cmd->digest, symbol, rep->flag, session->task->message_id); @@ -1786,7 +1786,7 @@ fuzzy_controller_io_callback (gint fd, short what, void *arg) "<%s>, %*xs, " "list %s:%d, error: %d", session->task->message_id, - rspamd_fuzzy_hash_len, cmd->digest, + (gint)sizeof (cmd->digest), cmd->digest, symbol, rep->flag, rep->value); |