From 40c5509a02c74740e020336708c3f26c838e36f7 Mon Sep 17 00:00:00 2001 From: Smittyvb Date: Sat, 1 Jun 2019 04:44:40 -0400 Subject: [PATCH] Make net module compile with --taintMode:on (#11360) --- lib/pure/net.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/net.nim b/lib/pure/net.nim index 7dc2d318b6..a166def8ff 100644 --- a/lib/pure/net.nim +++ b/lib/pure/net.nim @@ -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,