mirror of
https://github.com/fumiama/simple-http-server.git
synced 2026-06-20 03:40:24 +08:00
typo
This commit is contained in:
2
server.c
2
server.c
@@ -549,7 +549,7 @@ static int accept_client(int is_unix_sock) {
|
|||||||
}
|
}
|
||||||
pthread_t accept_thread;
|
pthread_t accept_thread;
|
||||||
if(pthread_create(&accept_thread, &attr, &accept_request, client_sock) != 0) perror("pthread_create");
|
if(pthread_create(&accept_thread, &attr, &accept_request, client_sock) != 0) perror("pthread_create");
|
||||||
printf("Created new thread at 0x%p\n", (void*)accept_thread);
|
printf("Created new thread at %p\n", (void*)accept_thread);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user