From 1e77ff28783235251b997d4fe03f46775aa15a92 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Tue, 21 Feb 2023 15:00:59 +0100 Subject: [PATCH] typo fix --- src/chat/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/misc.c b/src/chat/misc.c index 8dc14c5..f6c07c8 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -152,7 +152,7 @@ void *why2_communicate_thread(void *arg) printf("User exited.\t%d\n", *((int*) arg)); //DEALLOCATION - remove_node(get_node(why2_communicate_thread)); + remove_node(get_node(*((int*) arg))); close(*((int*) arg)); why2_deallocate(received);