From: Vsevolod Stakhov Date: Tue, 17 Dec 2019 17:25:25 +0000 (+0000) Subject: [Minor] Unify messages X-Git-Tag: 2.3~203 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4096a84ca4fb5731c2ef016accbdf7bc42cb46e1;p=rspamd.git [Minor] Unify messages --- 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) {