1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

comptime: fix custom -d flags and $if x? {}. Fixes ftp_test.v .

This commit is contained in:
Delyan Angelov
2020-04-23 17:52:44 +03:00
parent 1a79e5419f
commit adb8fb1dc6
6 changed files with 76 additions and 15 deletions

View File

@@ -127,10 +127,7 @@ pub fn (ftp FTP) login(user, passwd string) bool {
return false
}
mut data := ''
mut code := 0
code, data = ftp.read()
mut code, data := ftp.read()
if code == LoggedIn {
return true
}