From 4b85ba17ddc13e30aaac014726f5043a0393bf1b Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Tue, 21 Feb 2023 19:48:07 +0100 Subject: [PATCH] why2_accept_thread param typo fix --- src/chat/main/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/main/server.c b/src/chat/main/server.c index 1e18763..cec3291 100644 --- a/src/chat/main/server.c +++ b/src/chat/main/server.c @@ -41,7 +41,7 @@ int main(void) printf("Server enabled.\n\n"); - pthread_create(&thread, NULL, why2_accept_thread, &listen); + pthread_create(&thread, NULL, why2_accept_thread, &listen_socket); //TODO: Add getline()