From: Vsevolod Stakhov Date: Thu, 12 Mar 2015 16:42:19 +0000 (+0000) Subject: Fix fuzzy_check module. X-Git-Tag: 0.9.0~512^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ad774a9493e2175dce496d18311c87beb955f42b;p=rspamd.git Fix fuzzy_check module. --- 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; } }