aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/spf.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-02 14:02:44 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-02 14:02:44 +0000
commitc371d29834610a065c0d41f4b39e04b05dc33f78 (patch)
treeb102aa3f186e8b15e592627bd4b3c6bf830a6be2 /src/libserver/spf.c
parent590b8ae34ecf00467feb698c1bdfc85ccb7de878 (diff)
downloadrspamd-c371d29834610a065c0d41f4b39e04b05dc33f78.tar.gz
rspamd-c371d29834610a065c0d41f4b39e04b05dc33f78.zip
[Minor] Fix issues found
Diffstat (limited to 'src/libserver/spf.c')
-rw-r--r--src/libserver/spf.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libserver/spf.c b/src/libserver/spf.c
index 5fac43aa1..ec8decb50 100644
--- a/src/libserver/spf.c
+++ b/src/libserver/spf.c
@@ -2436,11 +2436,10 @@ rspamd_spf_resolve (struct rspamd_task *task, spf_cb_t callback,
if (cached) {
cached->flags |= RSPAMD_SPF_FLAG_CACHED;
- }
-
- callback (cached, task, cbdata);
+ callback (cached, task, cbdata);
- return TRUE;
+ return TRUE;
+ }
}