From 753d8bd7c9e146349ea31e35c3341e50fc13ec42 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 22 Feb 2025 10:15:50 +0200 Subject: [PATCH] update debug messages --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 636abe6..c9b581b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -52,7 +52,7 @@ fn main() -> Result<()> { fn handle(argument: Arc, peer: SocketAddr, stream: &mut TlsStream) { use titanite::*; - println!("[{}] [info] [{peer}] New connection", now()); + //println!("[{}] [info] [{peer}] New connection", now()); let mut input = vec![0; titanite::HEADER_MAX_LEN]; match stream.read(&mut input) { Ok(0) => println!("[{}] [warning] [{peer}] Peer closed connection", now()), @@ -253,7 +253,7 @@ fn titan( stream, |result| match result { Ok(()) => println!( - "[{}] [info] [{peer}] Data saved to {}", + "[{}] [info] [{peer}] Save to {}", now(), pmt.path.to_string_lossy() ),