commit e6bb277: [Minor] Fix misprint

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Mar 11 16:14:05 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-03-11 16:10:47 +0000
URL: https://github.com/rspamd/rspamd/commit/e6bb277ab61fd919c20774dcbe2742e4ddc429d4 (HEAD -> master)

[Minor] Fix misprint

---
 lualib/rspamadm/configwizard.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lualib/rspamadm/configwizard.lua b/lualib/rspamadm/configwizard.lua
index 49e429dfb..5afd5ae04 100644
--- a/lualib/rspamadm/configwizard.lua
+++ b/lualib/rspamadm/configwizard.lua
@@ -303,7 +303,7 @@ local function setup_dkim_signing(cfg, changes)
   else
     if sign_type == '1' then
       sign_domain = 'header'
-    elseif sign_domain == '2' then
+    elseif sign_type == '2' then
       sign_domain = 'envelope'
     else
       sign_domain = 'auth'


More information about the Commits mailing list