preparations for the new symbol binding rules for clean templates

This commit is contained in:
Araq 2013-05-18 10:05:06 +02:00
commit ce5a1365c2
3 changed files with 4 additions and 3 deletions

View file

@ -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: