mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 04:02:41 +00:00
Fix no async code
This commit is contained in:
@@ -271,9 +271,9 @@ proc connect*[T](ftp: FtpBase[T]) =
|
||||
|
||||
# Handle 220 messages from the server
|
||||
if reply.startsWith("220"):
|
||||
assertReply(reply, "220")
|
||||
assertReply ftp.expectReply(), "220"
|
||||
while reply.continuesWith("-", 3): # handle multiline 220 message
|
||||
assertReply(reply, "220")
|
||||
assertReply ftp.expectReply(), "220"
|
||||
reply = ftp.expectReply()
|
||||
|
||||
if ftp.user != "":
|
||||
|
||||
Reference in New Issue
Block a user