From 748aa6b5ece80ddb4786212da5e5806a790c225c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sat, 5 Mar 2022 18:34:21 +0800 Subject: [PATCH] typo --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.c b/server.c index 3b22d0a..8fe9d75 100644 --- a/server.c +++ b/server.c @@ -549,7 +549,7 @@ static int accept_client(int is_unix_sock) { } pthread_t accept_thread; 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); } }