Skip to content

Commit

Permalink
[Minor] Fix checking of all match
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Dec 1, 2019
1 parent 20f93d0 commit 8f8b030
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lua/lua_spf.c
Expand Up @@ -340,6 +340,11 @@ spf_check_element (lua_State *L, struct spf_resolved *rec, struct spf_addr *addr
lua_pushinteger (L, RSPAMD_SPF_RESOLVED_TEMP_FAILED);
lua_spf_push_spf_addr (L, addr);
}
else {
lua_pushboolean (L, true);
lua_pushinteger (L, addr->mech);
lua_spf_push_spf_addr (L, addr);
}
}
else {
lua_pushboolean (L, true);
Expand Down

0 comments on commit 8f8b030

Please sign in to comment.