summary refs log tree commit diff stats
path: root/lib/pure/sockets.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure/sockets.nim')
-rw-r--r--lib/pure/sockets.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/sockets.nim b/lib/pure/sockets.nim
index 2d602c86e..17e4d3118 100644
--- a/lib/pure/sockets.nim
+++ b/lib/pure/sockets.nim
@@ -1028,7 +1028,7 @@ proc readIntoBuf(socket: TSocket, flags: int32): int =
   socket.bufLen = result
   socket.currPos = 0
 
-template retRead(flags, readBytes: int) =
+template retRead(flags, readBytes: int) {.dirty.} =
   let res = socket.readIntoBuf(flags.int32)
   if res <= 0:
     if readBytes > 0: