Skip to content
Snippets Groups Projects
Commit 6096cd08 authored by ChouTatsumi's avatar ChouTatsumi
Browse files

bug 18:26

parent 059c836e
No related branches found
No related tags found
No related merge requests found
...@@ -193,10 +193,8 @@ static bool handle_http_request(int sockfd) { ...@@ -193,10 +193,8 @@ static bool handle_http_request(int sockfd) {
if (n <= 0) { if (n <= 0) {
if (n < 0) if (n < 0)
perror("read"); perror("read");
else { else
printf("socket %d close the connection\n", sockfd); printf("socket %d close the connection\n", sockfd);
player_init(sockfd);
}
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment