]> source.dussan.org Git - rspamd.git/commitdiff
Fix fuzzy_check module.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 12 Mar 2015 16:42:19 +0000 (16:42 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 12 Mar 2015 16:42:19 +0000 (16:42 +0000)
src/plugins/fuzzy_check.c

index b1c24c6b8a0ab2c8a038aa3428a320eba3513aca..9fb62187fc08490053c269f2227c00b932fad060 100644 (file)
@@ -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;
                }
        }