doc(server.c): typo

main
Tom MTT. 1 year ago
parent 7904d4dfc4
commit 6a20fa7e61

@ -164,7 +164,7 @@ int accept_connection(int socket)
*/ */
void close_connection(int connection) void close_connection(int connection)
{ {
/* prevent reading / writing to the socket */ /* prevent reading from / writing to the socket */
shutdown(connection, SHUT_RDWR); shutdown(connection, SHUT_RDWR);
/* close the socket */ /* close the socket */

Loading…
Cancel
Save