mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-14 23:33:28 +00:00
Fix undefined PObject reference
This commit is contained in:
committed by
Dominik Picheta
parent
1102f9aaf1
commit
9aad193d27
@@ -272,7 +272,7 @@ proc asyncSockHandleWrite(h: RootRef) =
|
||||
AsyncSocket(h).deleg.mode = fmRead
|
||||
|
||||
when defined(ssl):
|
||||
proc asyncSockDoHandshake(h: PObject) {.gcsafe.} =
|
||||
proc asyncSockDoHandshake(h: RootRef) {.gcsafe.} =
|
||||
if AsyncSocket(h).socket.isSSL and not
|
||||
AsyncSocket(h).socket.gotHandshake:
|
||||
if AsyncSocket(h).sslNeedAccept:
|
||||
|
||||
Reference in New Issue
Block a user