Fixes small mistake in `net` module.

This commit is contained in:
Dominik Picheta
2016-04-04 21:20:29 +01:00
parent 03be03c6e4
commit 3ad103b8cc

View File

@@ -606,7 +606,7 @@ proc setSockOpt*(socket: Socket, opt: SOBool, value: bool, level = SOL_SOCKET) {
when defineSsl:
proc handshake*(socket: Socket): bool
{.tags: [ReadIOEffect, WriteIOEffect, deprecated].} =
{.tags: [ReadIOEffect, WriteIOEffect], deprecated.} =
## This proc needs to be called on a socket after it connects. This is
## only applicable when using ``connectAsync``.
## This proc performs the SSL handshake.