Fix undefined PObject reference

This commit is contained in:
Joey Yakimowich-Payne
2018-07-12 19:48:43 +09:00
committed by Dominik Picheta
parent 1102f9aaf1
commit 9aad193d27

View File

@@ -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: