summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-10-27 00:12:36 +0100
committerAraq <rumpf_a@web.de>2014-10-27 00:12:36 +0100
commit73ff0432dc374057d817c95be074737b82c3024c (patch)
treee5961aaf34765404608f853143312bc1fde809b1 /lib/pure
parent0e439ce36738170bbc1097fcedfed5def7514a31 (diff)
downloadNim-73ff0432dc374057d817c95be074737b82c3024c.tar.gz
docgen works on linux
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/net.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/net.nim b/lib/pure/net.nim
index 60298ec88..f63f5fff8 100644
--- a/lib/pure/net.nim
+++ b/lib/pure/net.nim
@@ -232,10 +232,10 @@ when defined(ssl):
 
 proc socketError*(socket: Socket, err: int = -1, async = false,
                   lastError = (-1).OSErrorCode) =
-  ## Raises an EOS error based on the error code returned by ``SSLGetError``
+  ## Raises an OSError based on the error code returned by ``SSLGetError``
   ## (for SSL sockets) and ``osLastError`` otherwise.
   ##
-  ## If ``async`` is ``True`` no error will be thrown in the case when the
+  ## If ``async`` is ``true`` no error will be thrown in the case when the
   ## error was caused by no data being available to be read.
   ##
   ## If ``err`` is not lower than 0 no exception will be raised.