diff options
author | Joey Yakimowich-Payne <jyapayne@gmail.com> | 2018-07-12 19:48:43 +0900 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2018-07-12 11:54:25 +0100 |
commit | 9aad193d2753ffb6ec619d45c8f29cb9db864b35 (patch) | |
tree | 3a3ad39922a41ebe7c08527d6c391d050804bb10 /lib/deprecated | |
parent | 1102f9aaf1c3d09640f0bb1cbd5e543871fcdc7c (diff) | |
download | Nim-9aad193d2753ffb6ec619d45c8f29cb9db864b35.tar.gz |
Fix undefined PObject reference
Diffstat (limited to 'lib/deprecated')
-rw-r--r-- | lib/deprecated/pure/asyncio.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/deprecated/pure/asyncio.nim b/lib/deprecated/pure/asyncio.nim index 34cabefb0..161941e53 100644 --- a/lib/deprecated/pure/asyncio.nim +++ b/lib/deprecated/pure/asyncio.nim @@ -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: |