From e2ac8d7a5b550d7fa89f83ead1245dcc28e38909 Mon Sep 17 00:00:00 2001 From: djex Date: Wed, 9 Nov 2022 12:16:55 -0500 Subject: [PATCH] fix: sending file from local to remote --- src/server/connection.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server/connection.rs b/src/server/connection.rs index 96d202199..0c386210f 100644 --- a/src/server/connection.rs +++ b/src/server/connection.rs @@ -1607,8 +1607,7 @@ async fn start_ipc( file_num, data, compressed}) = data { - stream.send(&Data::FS(ipc::FS::WriteBlock{id, file_num, data: Bytes::new(), compressed})).await?; - stream.send_raw(data).await?; + stream.send(&Data::FS(ipc::FS::WriteBlock{id, file_num, data, compressed})).await?; } else { stream.send(&data).await?; }