mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
Fix remove async call
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user