Commit 1013f6e8 authored by Pierre SAGASPE's avatar Pierre SAGASPE

local network: fix login to ftp server

parent 8bd6653c
......@@ -509,7 +509,7 @@ confirmedWithUsername:(NSString *)username
case VLCServerProtocolFTP:
{
VLCFTPServerListViewController *targetViewController = [[VLCFTPServerListViewController alloc]
initWithFTPServer:[NSString stringWithFormat:@"ftp://%@", server]
initWithFTPServer:server
userName:username
andPassword:password atPath:@"/"];
[self.navigationController pushViewController:targetViewController animated:YES];
......@@ -542,7 +542,7 @@ confirmedWithUsername:(NSString *)username
}
default:
APLog(@"Unsupported URL Scheme requested %lu", protocol);
APLog(@"Unsupported URL Scheme requested %ld", (long)protocol);
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment