From 6a20fa7e61616efb146176810493721037244374 Mon Sep 17 00:00:00 2001 From: Tom MTT Date: Wed, 23 Nov 2022 06:51:54 +0100 Subject: [PATCH] doc(server.c): typo --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.c b/server.c index 3fa94f1..a52226a 100644 --- a/server.c +++ b/server.c @@ -164,7 +164,7 @@ int accept_connection(int socket) */ void close_connection(int connection) { - /* prevent reading / writing to the socket */ + /* prevent reading from / writing to the socket */ shutdown(connection, SHUT_RDWR); /* close the socket */