From 715e5f9785404e4545747c4c9c944f0051f85358 Mon Sep 17 00:00:00 2001 From: Kunal Mohan Date: Thu, 11 Feb 2021 21:29:53 +0530 Subject: [PATCH] remove debug logs --- src/server/mod.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/server/mod.rs b/src/server/mod.rs index 3db2ab524..e385c9ea9 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -129,12 +129,11 @@ pub fn start_server( match stream { Ok(mut stream) => { let mut buffer = [0; 65535]; // TODO: more accurate - let bytes = stream + let _ = stream .read(&mut buffer) .expect("failed to parse ipc message"); - println!("{}\n\n", bytes); let (mut err_ctx, decoded): (ErrorContext, ApiCommand) = - bincode::deserialize(&buffer[0..bytes]) + bincode::deserialize(&buffer) .expect("failed to deserialize ipc message"); err_ctx.add_call(ContextType::IPCServer); send_pty_instructions.update(err_ctx);