Skip to content

Commit 5285353

Browse files
ligurioTotktonada
authored andcommitted
client: fix luacheck warnings
1 parent abc7dc0 commit 5285353

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

smtp/init.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
-- SUCH DAMAGE.
3030
--
3131

32-
local fiber = require('fiber')
3332
local driver = require('smtp.lib')
3433
local digest = require('digest')
3534

test/smtp.test.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ local os = require('os')
99
local log = require('log')
1010

1111
test:plan(1)
12-
mails = fiber.channel(100)
12+
local mails = fiber.channel(100)
1313

1414
-- {{{ Debugging
1515

@@ -64,7 +64,7 @@ end
6464

6565
-- }}} Debugging
6666

67-
function write_reply_code(s, l)
67+
local function write_reply_code(s, l)
6868
if l:find('3xx') then
6969
s:write('354 Start mail input\r\n')
7070
elseif l:find('4xx') then

0 commit comments

Comments
 (0)