somehow defined why2_listen_server

This commit is contained in:
Václav Šmejkal 2023-02-22 12:12:04 +01:00
parent 0618de9584
commit c6e98d120a
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59

View File

@ -253,4 +253,12 @@ void why2_clean_threads(void)
remove_node(node_buffer_2); //REMOVE
}
}
void *why2_listen_server(void *socket)
{
for (;;)
{
printf("%s\n", why2_read_socket(*((int*) socket)));
}
}