]> source.dussan.org Git - rspamd.git/commitdiff
* Misprint != -> ==
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Thu, 1 Jul 2010 10:00:19 +0000 (14:00 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Thu, 1 Jul 2010 10:00:19 +0000 (14:00 +0400)
src/plugins/spf.c

index be97cc3313a6566d11d2bf698bf022ae77045cf5..6ab23ee37718c69a03e2c2ea73979a80237bc50a 100644 (file)
@@ -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);
                        }