bugfix: ftpclient compiles again
This commit is contained in:
parent
09e4b194f5
commit
899193268a
2 changed files with 1 additions and 2 deletions
|
|
@ -114,7 +114,7 @@ proc getDSock(ftp: PFTPClient): TSocket =
|
||||||
proc getCSock(ftp: PFTPClient): TSocket =
|
proc getCSock(ftp: PFTPClient): TSocket =
|
||||||
if ftp.isAsync: return ftp.asyncCSock else: return ftp.csock
|
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:
|
if ftp.isAsync:
|
||||||
sock.setBlocking(true)
|
sock.setBlocking(true)
|
||||||
body
|
body
|
||||||
|
|
|
||||||
1
todo.txt
1
todo.txt
|
|
@ -5,7 +5,6 @@ version 0.9.2
|
||||||
- ``restrict`` pragma + backend support
|
- ``restrict`` pragma + backend support
|
||||||
- fix marshal bug
|
- fix marshal bug
|
||||||
- fix: 'result' is not properly cleaned for NRVO
|
- fix: 'result' is not properly cleaned for NRVO
|
||||||
- investigate nimgame bug
|
|
||||||
|
|
||||||
|
|
||||||
version 0.9.4
|
version 0.9.4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue