Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jpx40 committed Feb 25, 2024
1 parent 75f8cd0 commit ed04b36
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion central/rsrem/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#![allow(clippy::useless_attribute)]
#![allow(unused_imports)]
#![allow(dead_code)]
#![allow(unused_variables)]
use ssh2::{Channel, Session, Sftp, Stream};
use std::clone;
use std::fs::File;
Expand Down Expand Up @@ -70,7 +74,7 @@ fn main() {
//let buf = reader.fill_buf().unwrap();
let times: Option<(u64, u64)> = None;

let mut remote_file = RemoteFile::new(path.to_str().unwrap().to_string());
let remote_file = RemoteFile::new(path.to_str().unwrap().to_string());
// file_upload(&mut session, path, size, &buffer, times);
remote_file.send(&mut session);

Expand Down

0 comments on commit ed04b36

Please sign in to comment.