aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/fuzzy_check.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-12 16:42:19 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-12 16:42:19 +0000
commitad774a9493e2175dce496d18311c87beb955f42b (patch)
tree6569b53d95ccff3ab06923d47290af9b7344699f /src/plugins/fuzzy_check.c
parent7cb9a159dd0e433fb7cbdb03616bcd608c1a53d1 (diff)
downloadrspamd-ad774a9493e2175dce496d18311c87beb955f42b.tar.gz
rspamd-ad774a9493e2175dce496d18311c87beb955f42b.zip
Fix fuzzy_check module.
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r--src/plugins/fuzzy_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index b1c24c6b8..9fb62187f 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -1142,10 +1142,10 @@ fuzzy_symbol_callback (struct rspamd_task *task, void *unused)
/* Check whitelist */
if (fuzzy_module_ctx->whitelist) {
if (radix_find_compressed_addr (fuzzy_module_ctx->whitelist,
- &task->from_addr) != RADIX_NO_VALUE) {
+ task->from_addr) != RADIX_NO_VALUE) {
msg_info ("<%s>, address %s is whitelisted, skip fuzzy check",
task->message_id,
- rspamd_inet_address_to_string (&task->from_addr));
+ rspamd_inet_address_to_string (task->from_addr));
return;
}
}