From cdcc9e53b4d4749c6fcca9350994fdb161343430 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 5 Apr 2023 10:21:47 +0200 Subject: [PATCH] removed all why2_listen_server formatting todos --- src/chat/misc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/chat/misc.c b/src/chat/misc.c index 0040075..b7c2fa7 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -448,14 +448,14 @@ void *why2_listen_server(void *socket) { char *read = NULL; - printf(">>> "); //TODO: Make this smart + printf(">>> "); fflush(stdout); for (;;) { - read = why2_read_socket(*((int*) socket)); //TODO: Fix other user message formatting + read = why2_read_socket(*((int*) socket)); printf(WHY2_CLEAR_AND_GO_UP); - printf("%s\n\n>>> ", read); //TODO: wtf is the output + printf("%s\n\n>>> ", read); fflush(stdout); why2_deallocate(read);