bugfix: ftpclient compiles again

This commit is contained in:
Araq
2013-01-22 00:59:34 +01:00
parent 09e4b194f5
commit 899193268a
2 changed files with 1 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ proc getDSock(ftp: PFTPClient): TSocket =
proc getCSock(ftp: PFTPClient): TSocket =
if ftp.isAsync: return ftp.asyncCSock else: return ftp.csock
template blockingOperation(sock: TSocket, body: stmt) =
template blockingOperation(sock: TSocket, body: stmt) {.immediate.} =
if ftp.isAsync:
sock.setBlocking(true)
body

View File

@@ -5,7 +5,6 @@ version 0.9.2
- ``restrict`` pragma + backend support
- fix marshal bug
- fix: 'result' is not properly cleaned for NRVO
- investigate nimgame bug
version 0.9.4