fixes #3789
This commit is contained in:
parent
5a33e8795e
commit
ec1abdef97
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue