diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-01 14:00:19 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-01 14:00:19 +0400 |
commit | d15768174c09689ad956997c599a97139e8f4bb0 (patch) | |
tree | 99c8542e644f2a99b62482ba4dde9c35fbbc25f9 /src/plugins/spf.c | |
parent | ed55f31bad85c9641b3d00fc547adea5e0a15608 (diff) | |
download | rspamd-d15768174c09689ad956997c599a97139e8f4bb0.tar.gz rspamd-d15768174c09689ad956997c599a97139e8f4bb0.zip |
* Misprint != -> ==
Diffstat (limited to 'src/plugins/spf.c')
-rw-r--r-- | src/plugins/spf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |