mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ftp.v: fix compilation
This commit is contained in:
@ -223,8 +223,9 @@ fn (ftp FTP) pasv() ?DTP {
|
||||
return error('pasive mode not allowed')
|
||||
}
|
||||
|
||||
dtp := new_dtp(data)
|
||||
|
||||
dtp := new_dtp(data) or {
|
||||
return error(err)
|
||||
}
|
||||
return dtp
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user