Skip to content

Commit a4acb9c

Browse files
committed
minor style fix
1 parent 269c893 commit a4acb9c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/resty/core/socket.lua

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ local debug = require "debug"
44
local ffi = require "ffi"
55

66

7-
local error = error
8-
local assert = assert
7+
local error = error
8+
local assert = assert
99
local tonumber = tonumber
1010
local tostring = tostring
11-
local type = type
12-
local select = select
11+
local type = type
12+
local select = select
1313
local registry = debug.getregistry()
1414

15-
local C = ffi.C
15+
local C = ffi.C
1616
local ffi_new = ffi.new
1717
local ffi_str = ffi.string
1818
local ffi_gc = ffi.gc
@@ -237,7 +237,7 @@ local function sslhandshake(cosocket, reused_session, server_name, ssl_verify,
237237
end
238238

239239
-- (rc == FFI_OK and reused_session ~= false) or
240-
-- (rc == FFI_AGAIN and reused_session == cdata/false then co_yield )
240+
-- (rc == FFI_AGAIN and reused_session == cdata/false then co_yield)
241241

242242
rc = C.ngx_http_lua_ffi_socket_tcp_get_sslhandshake_result(r, u,
243243
session_ptr, errmsg, openssl_error_code)

0 commit comments

Comments
 (0)