doc(server.c): typo
This commit is contained in:
parent
7904d4dfc4
commit
6a20fa7e61
1 changed files with 1 additions and 1 deletions
2
server.c
2
server.c
|
@ -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 */
|
||||||
|
|
Reference in a new issue