From 069338177e2f9596b7cbc2cf6c82f3506876a431 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 25 Mar 2023 17:17:54 +0100 Subject: [PATCH] added send_to_all TODO --- 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 2c1967d..89a0374 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -305,7 +305,7 @@ void *why2_communicate_thread(void *arg) printf("Received:\n%s\n\n", received); - pthread_create(&thread_buffer, NULL, send_to_all, received); + pthread_create(&thread_buffer, NULL, send_to_all, received); //TODO: Send only json format, not json format "squared" pthread_join(thread_buffer, NULL); why2_deallocate(received);