summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index d738e0c..4b1dc60 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -35,7 +35,7 @@ fn main() {
fn handle_connection(mut stream: TcpStream) {
// Handle the connection
print!(
- "{} {} ",
+ "{} ({}) ",
stream.peer_addr().unwrap().ip(),
Local::now().format("%Y-%m-%d %H:%M:%S")
);