removed all why2_listen_server formatting todos

This commit is contained in:
Václav Šmejkal 2023-04-05 10:21:47 +02:00
parent 2991b1f2c3
commit cdcc9e53b4
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59

View File

@ -448,14 +448,14 @@ void *why2_listen_server(void *socket)
{ {
char *read = NULL; char *read = NULL;
printf(">>> "); //TODO: Make this smart printf(">>> ");
fflush(stdout); fflush(stdout);
for (;;) 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(WHY2_CLEAR_AND_GO_UP);
printf("%s\n\n>>> ", read); //TODO: wtf is the output printf("%s\n\n>>> ", read);
fflush(stdout); fflush(stdout);
why2_deallocate(read); why2_deallocate(read);