mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-18 15:01:24 +00:00
Make net module compile with --taintMode:on (#11360)
This commit is contained in:
@@ -1263,7 +1263,7 @@ proc recvLine*(socket: Socket, timeout = -1,
|
||||
## that can be read. The result is truncated after that.
|
||||
##
|
||||
## **Warning**: Only the ``SafeDisconn`` flag is currently supported.
|
||||
result = ""
|
||||
result = "".TaintedString
|
||||
readLine(socket, result, timeout, flags, maxLength)
|
||||
|
||||
proc recvFrom*(socket: Socket, data: var string, length: int,
|
||||
|
||||
Reference in New Issue
Block a user