preparations for the new symbol binding rules for clean templates
This commit is contained in:
parent
b75d23b5e7
commit
ce5a1365c2
3 changed files with 4 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue