Make net module compile with --taintMode:on (#11360)
This commit is contained in:
parent
6b23b2d7df
commit
40c5509a02
1 changed files with 1 additions and 1 deletions
|
|
@ -1263,7 +1263,7 @@ proc recvLine*(socket: Socket, timeout = -1,
|
||||||
## that can be read. The result is truncated after that.
|
## that can be read. The result is truncated after that.
|
||||||
##
|
##
|
||||||
## **Warning**: Only the ``SafeDisconn`` flag is currently supported.
|
## **Warning**: Only the ``SafeDisconn`` flag is currently supported.
|
||||||
result = ""
|
result = "".TaintedString
|
||||||
readLine(socket, result, timeout, flags, maxLength)
|
readLine(socket, result, timeout, flags, maxLength)
|
||||||
|
|
||||||
proc recvFrom*(socket: Socket, data: var string, length: int,
|
proc recvFrom*(socket: Socket, data: var string, length: int,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue