Merge pull request #4780 from pyloor/fix-asyncftpclient-issue-4681

fix missing procvar in asyncftpclient
This commit is contained in:
Dominik Picheta
2016-09-16 17:08:15 +02:00
committed by GitHub

View File

@@ -281,7 +281,7 @@ proc getFile(ftp: AsyncFtpClient, file: File, total: BiggestInt,
assertReply(await(ftp.expectReply()), "226")
proc defaultOnProgressChanged*(total, progress: BiggestInt,
speed: float): Future[void] {.nimcall,gcsafe.} =
speed: float): Future[void] {.nimcall,gcsafe,procvar.} =
## Default FTP ``onProgressChanged`` handler. Does nothing.
result = newFuture[void]()
#echo(total, " ", progress, " ", speed)