From 074906c23e0a4f1cfe0d36f2b816b6cb667e43b6 Mon Sep 17 00:00:00 2001 From: chenxue <289177586@qq.com> Date: Sat, 23 Jan 2021 21:51:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=9C=BA=E5=87=BD=E6=95=B0=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=94=99=E8=AF=AF=E4=BF=AE=E8=AE=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- httpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpd.c b/httpd.c index d4eb456..a8f397b 100644 --- a/httpd.c +++ b/httpd.c @@ -505,7 +505,7 @@ int main(void) &client_name_len); if (client_sock == -1) error_die("accept"); - /* accept_request(&client_sock); */ + /* accept_request((void *)(intptr_t)client_sock); */ if (pthread_create(&newthread , NULL, (void *)accept_request, (void *)(intptr_t)client_sock) != 0) perror("pthread_create"); }