From: Vsevolod Stakhov Date: Fri, 7 Apr 2023 20:54:58 +0000 (+0100) Subject: [Minor] Pet luacheck X-Git-Tag: 3.6~160 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c222cf209d3c02279796fb794ec37c27d34320d9;p=rspamd.git [Minor] Pet luacheck --- diff --git a/lualib/rspamadm/dkim_keygen.lua b/lualib/rspamadm/dkim_keygen.lua index 5fff5707f..0d0ebe5a6 100644 --- a/lualib/rspamadm/dkim_keygen.lua +++ b/lualib/rspamadm/dkim_keygen.lua @@ -87,7 +87,8 @@ end local function print_public_key_dns(opts, base64_pk) local key_type = opts.type == 'rsa' and 'rsa' or 'ed25519' if #base64_pk < 255 - 2 then - io.write(string.format('%s._domainkey IN TXT ( "v=DKIM1; k=%s;" \n\t"p=%s" ) ;\n', opts.selector, key_type, base64_pk)) + io.write(string.format('%s._domainkey IN TXT ( "v=DKIM1; k=%s;" \n\t"p=%s" ) ;\n', + opts.selector, key_type, base64_pk)) else -- Split it by parts local parts = split_string(base64_pk)