diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2015-04-23 21:57:33 +0100 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2015-04-23 21:57:33 +0100 |
commit | 62e1b3e2e30906fb2176c018468138731d073a27 (patch) | |
tree | 1ffb50cbd2dbabc33976167aeae0407bcd86c05f /lib/pure/asyncnet.nim | |
parent | 03cbf689a1f70e4b797ef0e7b14a2d93c4579f53 (diff) | |
download | Nim-62e1b3e2e30906fb2176c018468138731d073a27.tar.gz |
Some small cleanup.
Diffstat (limited to 'lib/pure/asyncnet.nim')
-rw-r--r-- | lib/pure/asyncnet.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/asyncnet.nim b/lib/pure/asyncnet.nim index 7d23ad4b7..b88fd80c0 100644 --- a/lib/pure/asyncnet.nim +++ b/lib/pure/asyncnet.nim @@ -69,13 +69,13 @@ type # TODO: I would prefer to just do: # AsyncSocket* {.borrow: `.`.} = distinct Socket. But that doesn't work. AsyncSocketDesc = object - fd*: SocketHandle + fd: SocketHandle closed: bool ## determines whether this socket has been closed case isBuffered: bool ## determines whether this socket is buffered. of true: buffer: array[0..BufferSize, char] currPos: int # current index in buffer - bufLen*: int # current length of buffer + bufLen: int # current length of buffer of false: nil case isSsl: bool of true: |