From 554a71c20ee30bd05a38f13547fc64ad2f37eedf Mon Sep 17 00:00:00 2001 From: codroc <62922156+codroc@users.noreply.github.com> Date: Tue, 26 Jan 2021 18:58:00 +0800 Subject: [PATCH] Update httpd.c --- 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"); }