commit 4096a84: [Minor] Unify messages
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Dec 17 17:28:06 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-12-17 17:25:25 +0000
URL: https://github.com/rspamd/rspamd/commit/4096a84ca4fb5731c2ef016accbdf7bc42cb46e1 (HEAD -> master)
[Minor] Unify messages
---
src/lua/lua_spf.c | 6 +++---
1 file 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) {
More information about the Commits
mailing list