diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-02 14:02:44 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-02 14:02:44 +0000 |
commit | c371d29834610a065c0d41f4b39e04b05dc33f78 (patch) | |
tree | b102aa3f186e8b15e592627bd4b3c6bf830a6be2 /src/libserver/spf.c | |
parent | 590b8ae34ecf00467feb698c1bdfc85ccb7de878 (diff) | |
download | rspamd-c371d29834610a065c0d41f4b39e04b05dc33f78.tar.gz rspamd-c371d29834610a065c0d41f4b39e04b05dc33f78.zip |
[Minor] Fix issues found
Diffstat (limited to 'src/libserver/spf.c')
-rw-r--r-- | src/libserver/spf.c | 7 |
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; + } } |