Skip to content

Commit

Permalink
minor style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Mar 2, 2022
1 parent 269c893 commit a4acb9c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/resty/core/socket.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ local debug = require "debug"
local ffi = require "ffi"


local error = error
local assert = assert
local error = error
local assert = assert
local tonumber = tonumber
local tostring = tostring
local type = type
local select = select
local type = type
local select = select
local registry = debug.getregistry()

local C = ffi.C
local C = ffi.C
local ffi_new = ffi.new
local ffi_str = ffi.string
local ffi_gc = ffi.gc
Expand Down Expand Up @@ -237,7 +237,7 @@ local function sslhandshake(cosocket, reused_session, server_name, ssl_verify,
end

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

rc = C.ngx_http_lua_ffi_socket_tcp_get_sslhandshake_result(r, u,
session_ptr, errmsg, openssl_error_code)
Expand Down

0 comments on commit a4acb9c

Please sign in to comment.