mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix: confirmDelete -> cancel Delete
This commit is contained in:
@@ -136,7 +136,6 @@ impl ConnectionManager {
|
||||
dir,
|
||||
include_hidden,
|
||||
} => {
|
||||
// println!("[cm.rs:126] ipc::FS::ReadDir recved");
|
||||
Self::read_dir(&dir, include_hidden, conn).await;
|
||||
}
|
||||
ipc::FS::RemoveDir {
|
||||
@@ -157,7 +156,6 @@ impl ConnectionManager {
|
||||
id,
|
||||
mut files,
|
||||
} => {
|
||||
println!("new write in ipc::FS::NewWrite");
|
||||
write_jobs.push(fs::TransferJob::new_write(
|
||||
id,
|
||||
path,
|
||||
@@ -293,7 +291,6 @@ impl ConnectionManager {
|
||||
let mut file_response = FileResponse::new();
|
||||
file_response.set_dir(fd);
|
||||
msg_out.set_file_response(file_response);
|
||||
// println!("[cm.rs:229] set dir");
|
||||
Self::send(msg_out, conn).await;
|
||||
}
|
||||
}
|
||||
@@ -356,7 +353,6 @@ impl ConnectionManager {
|
||||
}
|
||||
|
||||
async fn send(msg: Message, conn: &mut Connection) {
|
||||
println!("send msg: {:?}", msg);
|
||||
match msg.write_to_bytes() {
|
||||
Ok(bytes) => allow_err!(conn.send(&Data::RawMessage(bytes)).await),
|
||||
err => allow_err!(err),
|
||||
|
||||
Reference in New Issue
Block a user