1
0
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:
Delyan Angelov
2020-04-10 22:52:12 +03:00
parent 4f74410125
commit fdac3a1f2e
2 changed files with 6 additions and 2 deletions

View File

@ -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
}