doc(server.c): typo

This commit is contained in:
Tom MTT. 2022-11-23 06:51:54 +01:00
parent 7904d4dfc4
commit 6a20fa7e61

View file

@ -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 */