From: Vsevolod Stakhov Date: Thu, 1 Jul 2010 10:00:19 +0000 (+0400) Subject: * Misprint != -> == X-Git-Tag: 0.3.1~70 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d15768174c09689ad956997c599a97139e8f4bb0;p=rspamd.git * Misprint != -> == --- diff --git a/src/plugins/spf.c b/src/plugins/spf.c index be97cc331..6ab23ee37 100644 --- a/src/plugins/spf.c +++ b/src/plugins/spf.c @@ -175,7 +175,7 @@ static void spf_symbol_callback (struct worker_task *task, void *unused) { if (task->from_addr.s_addr != INADDR_NONE && task->from_addr.s_addr != INADDR_ANY) { - if (radix32tree_find (spf_module_ctx->whitelist_ip, ntohl (task->from_addr.s_addr)) != RADIX_NO_VALUE) { + if (radix32tree_find (spf_module_ctx->whitelist_ip, ntohl (task->from_addr.s_addr)) == RADIX_NO_VALUE) { if (!resolve_spf (task, spf_plugin_callback)) { msg_info ("cannot make spf request for [%s]", task->message_id); }