fixed why2_communicate_thread thread id problem

This commit is contained in:
Václav Šmejkal 2023-02-22 10:42:11 +01:00
parent 4a298b94b3
commit 2c051f2cb2
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59

View File

@ -134,7 +134,7 @@ void *why2_communicate_thread(void *arg)
printf("User connected.\t%d\n", connection.connection);
push_to_list(connection.connection, connection.thread);
push_to_list(connection.connection, pthread_self()); //TODO: Do something with why2_connection_t
const time_t startTime = time(NULL);
char *received = NULL;