diff options
author | Luca <ldanzelmo@gmail.com> | 2015-06-26 09:26:51 +0200 |
---|---|---|
committer | Luca <ldanzelmo@gmail.com> | 2015-06-26 09:26:51 +0200 |
commit | 96e5c7c3b960fd617428cea3e64236dc8f430547 (patch) | |
tree | 514370c92d88d35de403e6be339ac08f475c96ab | |
parent | c687e2b9d2fefa362990f6f608c59c92a2575a3d (diff) | |
download | Nim-96e5c7c3b960fd617428cea3e64236dc8f430547.tar.gz |
Fix remove async call
-rw-r--r-- | lib/pure/ftpclient.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/ftpclient.nim b/lib/pure/ftpclient.nim index 7ede6b479..522f42cf8 100644 --- a/lib/pure/ftpclient.nim +++ b/lib/pure/ftpclient.nim @@ -274,7 +274,7 @@ proc connect*[T](ftp: FtpBase[T]) = assertReply(reply, "220") while reply.continuesWith("-", 3): # handle multiline 220 message assertReply(reply, "220") - reply = await ftp.expectReply() + reply = ftp.expectReply() if ftp.user != "": assertReply(ftp.send("USER " & ftp.user), "230", "331") |