mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
net: fix typos (#18164)
This commit is contained in:
@ -201,7 +201,7 @@ fn (mut zftp FTP) pasv() !&DTP {
|
||||
println('pass: ${data}')
|
||||
}
|
||||
if code != ftp.passive_mode {
|
||||
return error('pasive mode not allowed')
|
||||
return error('passive mode not allowed')
|
||||
}
|
||||
dtp := new_dtp(data)!
|
||||
return dtp
|
||||
|
@ -1,6 +1,6 @@
|
||||
import net.ftp
|
||||
|
||||
fn test_ftp_cleint() {
|
||||
fn test_ftp_client() {
|
||||
$if !network ? {
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user