ftp.v: fix compilation
parent
4f74410125
commit
fdac3a1f2e
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -133,6 +133,9 @@ pub fn (x Expr) str() string {
|
|||
SelectorExpr {
|
||||
return '${it.expr.str()}.${it.field}'
|
||||
}
|
||||
TypeOf {
|
||||
return 'typeof(${it.expr.str()})'
|
||||
}
|
||||
CallExpr {
|
||||
sargs := args2str(it.args)
|
||||
if it.is_method {
|
||||
|
|
Loading…
Reference in New Issue