removed inappropriate debug prints

pls don't view the changes for love of god
This commit is contained in:
Václav Šmejkal 2023-04-19 12:00:53 +02:00
parent 12a1dfda52
commit fda282f491
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59

View File

@ -264,7 +264,6 @@ void *stop_oldest_thread(void *id)
{
sleep(WHY2_COMMUNICATION_TIME); //yk wait
if (waiting_list.head == NULL) return NULL;
printf("A\n");
if (**(pthread_t**) waiting_list.head -> value == *(pthread_t*) id) //THREAD IS STILL ALIVE, I HOPE
{
//KILL THE THREAD
@ -323,7 +322,6 @@ void why2_send_socket(char *text, char *username, int socket)
why2_deallocate(text_copy);
json_object_put(json);
//printf("NEGR\n");
unsigned short text_length = (unsigned short) strlen(output) + 2;
char *final = why2_calloc(text_length, sizeof(char));