Merge pull request #4780 from pyloor/fix-asyncftpclient-issue-4681
fix missing procvar in asyncftpclient
This commit is contained in:
commit
74b8216e83
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ proc getFile(ftp: AsyncFtpClient, file: File, total: BiggestInt,
|
||||||
assertReply(await(ftp.expectReply()), "226")
|
assertReply(await(ftp.expectReply()), "226")
|
||||||
|
|
||||||
proc defaultOnProgressChanged*(total, progress: BiggestInt,
|
proc defaultOnProgressChanged*(total, progress: BiggestInt,
|
||||||
speed: float): Future[void] {.nimcall,gcsafe.} =
|
speed: float): Future[void] {.nimcall,gcsafe,procvar.} =
|
||||||
## Default FTP ``onProgressChanged`` handler. Does nothing.
|
## Default FTP ``onProgressChanged`` handler. Does nothing.
|
||||||
result = newFuture[void]()
|
result = newFuture[void]()
|
||||||
#echo(total, " ", progress, " ", speed)
|
#echo(total, " ", progress, " ", speed)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue