aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/spf.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-01 14:00:19 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-01 14:00:19 +0400
commitd15768174c09689ad956997c599a97139e8f4bb0 (patch)
tree99c8542e644f2a99b62482ba4dde9c35fbbc25f9 /src/plugins/spf.c
parented55f31bad85c9641b3d00fc547adea5e0a15608 (diff)
downloadrspamd-d15768174c09689ad956997c599a97139e8f4bb0.tar.gz
rspamd-d15768174c09689ad956997c599a97139e8f4bb0.zip
* Misprint != -> ==
Diffstat (limited to 'src/plugins/spf.c')
-rw-r--r--src/plugins/spf.c2
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);
}