diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-17 17:25:25 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-17 17:25:25 +0000 |
commit | 4096a84ca4fb5731c2ef016accbdf7bc42cb46e1 (patch) | |
tree | 210751230408648b681b1a65c0bdf6b965ca5482 /src | |
parent | 99aaa9bbb378dd6f902901230dbe9ce9ae3ac038 (diff) | |
download | rspamd-4096a84ca4fb5731c2ef016accbdf7bc42cb46e1.tar.gz rspamd-4096a84ca4fb5731c2ef016accbdf7bc42cb46e1.zip |
[Minor] Unify messages
Diffstat (limited to 'src')
-rw-r--r-- | src/lua/lua_spf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/lua_spf.c b/src/lua/lua_spf.c index 9cb6261f8..22f1ad2b2 100644 --- a/src/lua/lua_spf.c +++ b/src/lua/lua_spf.c @@ -171,7 +171,7 @@ spf_lua_lib_callback (struct spf_resolved *record, struct rspamd_task *task, if (record) { if ((record->flags & RSPAMD_SPF_RESOLVED_NA)) { lua_spf_push_result (cbd, RSPAMD_SPF_RESOLVED_NA, NULL, - "no SPF record found"); + "no SPF record"); } else if (record->elts->len == 0) { if (record->flags & RSPAMD_SPF_RESOLVED_PERM_FAILED) { @@ -180,11 +180,11 @@ spf_lua_lib_callback (struct spf_resolved *record, struct rspamd_task *task, } else if ((record->flags & RSPAMD_SPF_RESOLVED_TEMP_FAILED)) { lua_spf_push_result (cbd, RSPAMD_SPF_RESOLVED_TEMP_FAILED, NULL, - "temporary resolution error"); + "temporary DNS error"); } else { lua_spf_push_result (cbd, RSPAMD_SPF_RESOLVED_PERM_FAILED, NULL, - "record is empty"); + "empty SPF record"); } } else if (record->domain) { |