Fix undefined PObject reference
This commit is contained in:
parent
1102f9aaf1
commit
9aad193d27
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ proc asyncSockHandleWrite(h: RootRef) =
|
||||||
AsyncSocket(h).deleg.mode = fmRead
|
AsyncSocket(h).deleg.mode = fmRead
|
||||||
|
|
||||||
when defined(ssl):
|
when defined(ssl):
|
||||||
proc asyncSockDoHandshake(h: PObject) {.gcsafe.} =
|
proc asyncSockDoHandshake(h: RootRef) {.gcsafe.} =
|
||||||
if AsyncSocket(h).socket.isSSL and not
|
if AsyncSocket(h).socket.isSSL and not
|
||||||
AsyncSocket(h).socket.gotHandshake:
|
AsyncSocket(h).socket.gotHandshake:
|
||||||
if AsyncSocket(h).sslNeedAccept:
|
if AsyncSocket(h).sslNeedAccept:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue