Skip to content

Commit 9bc627b

Browse files
committed
fix ev usage
1 parent 406ca21 commit 9bc627b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/websocket/client_ev.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ local ev = function(ws)
182182
end,fd,ev.WRITE)
183183
local connected,err = sock:connect(host,port)
184184
if connected then
185-
handshake_io:callback(loop,handshake_io)
185+
handshake_io:callback()(loop,handshake_io)
186186
elseif err == 'timeout' then
187187
handshake_io:start(loop)-- connect
188188
else

0 commit comments

Comments
 (0)