diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-01-31 01:32:09 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-01-31 01:32:09 +0100 |
commit | ec1abdef97644e12bf64cdd7513070e1e6ac24a0 (patch) | |
tree | 173323819c856d717450ea219f633a1af58487b8 /lib/pure/net.nim | |
parent | 5a33e8795e0ed958ecfe6ff3e7069c8daa1596a8 (diff) | |
download | Nim-ec1abdef97644e12bf64cdd7513070e1e6ac24a0.tar.gz |
fixes #3789
Diffstat (limited to 'lib/pure/net.nim')
-rw-r--r-- | lib/pure/net.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/net.nim b/lib/pure/net.nim index 1cfaf029f..c3a65fef1 100644 --- a/lib/pure/net.nim +++ b/lib/pure/net.nim @@ -829,7 +829,7 @@ proc readLine*(socket: Socket, line: var TaintedString, timeout = -1, template addNLIfEmpty(): stmt = if line.len == 0: - line.add("\c\L") + line.string.add("\c\L") template raiseSockError(): stmt {.dirty, immediate.} = let lastError = getSocketError(socket) |