1
0
mirror of https://github.com/fumiama/simple-http-server.git synced 2026-06-05 00:30:23 +08:00

小修补

This commit is contained in:
源文雨
2021-08-14 12:59:04 +08:00
parent b236115f1a
commit ebb958fe49

View File

@@ -488,7 +488,7 @@ static void unimplemented(int client) {
static pthread_attr_t attr;
static pthread_t accept_thread;
static socklen_t client_name_len = sizeof(client_name);
int accept_client(int server_sock) {
static int accept_client(int server_sock) {
signal(SIGCHLD, SIG_IGN);
signal(SIGQUIT, handle_quit);
signal(SIGPIPE, handle_quit);