Skip to content

Commit 6811f76

Browse files
committed
fix: luacheck
1 parent 84cb180 commit 6811f76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/resty/core/socket.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,8 @@ local function sslhandshake(cosocket, reused_session, server_name, ssl_verify,
246246
local _bytes = {}
247247
for _, proto_str in ipairs(alpn) do
248248
_bytes[#_bytes + 1] = string.len(proto_str)
249-
for _, proto_byte in ipairs({ string.byte(proto_str, 1, #proto_str) }) do
249+
for _, proto_byte in ipairs(
250+
{ string.byte(proto_str, 1, #proto_str) }) do
250251
_bytes[#_bytes + 1] = proto_byte
251252
end
252253
end

0 commit comments

Comments
 (0)