From 58d398300680f5057462682a901d581243b246cc Mon Sep 17 00:00:00 2001 From: Saksham Mittal Date: Thu, 26 Oct 2023 22:22:32 +0530 Subject: [PATCH] fix: use println!() for success message --- src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.rs b/src/server.rs index 94c19de..3ee0037 100644 --- a/src/server.rs +++ b/src/server.rs @@ -56,7 +56,7 @@ pub async fn run_server( .split_whitespace() .collect(); if msg.len() == 2 && msg[0] == filename && msg[1] == auth { - eprintln!("Got good message from client"); + println!("Got good message from client"); } else { eprintln!("Bad message; could not authenticate: {} {}", msg[0], msg[1]); } -- 2.45.2