Filetransfer port is u16

This commit is contained in:
ChristianVisintin
2020-11-24 22:14:37 +01:00
parent d871497a49
commit 067f5e710a
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ impl FileTransfer for SftpFileTransfer {
fn connect(
&mut self,
address: String,
port: usize,
port: u16,
username: Option<String>,
password: Option<String>,
) -> Result<(), FileTransferError> {