Fix remove async call

This commit is contained in:
Luca
2015-06-26 09:26:51 +02:00
parent c687e2b9d2
commit 96e5c7c3b9

View File

@@ -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")