removed inappropriate debug prints
pls don't view the changes for love of god
This commit is contained in:
parent
12a1dfda52
commit
fda282f491
@ -264,7 +264,6 @@ void *stop_oldest_thread(void *id)
|
|||||||
{
|
{
|
||||||
sleep(WHY2_COMMUNICATION_TIME); //yk wait
|
sleep(WHY2_COMMUNICATION_TIME); //yk wait
|
||||||
if (waiting_list.head == NULL) return NULL;
|
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
|
if (**(pthread_t**) waiting_list.head -> value == *(pthread_t*) id) //THREAD IS STILL ALIVE, I HOPE
|
||||||
{
|
{
|
||||||
//KILL THE THREAD
|
//KILL THE THREAD
|
||||||
@ -323,7 +322,6 @@ void why2_send_socket(char *text, char *username, int socket)
|
|||||||
why2_deallocate(text_copy);
|
why2_deallocate(text_copy);
|
||||||
json_object_put(json);
|
json_object_put(json);
|
||||||
|
|
||||||
//printf("NEGR\n");
|
|
||||||
unsigned short text_length = (unsigned short) strlen(output) + 2;
|
unsigned short text_length = (unsigned short) strlen(output) + 2;
|
||||||
char *final = why2_calloc(text_length, sizeof(char));
|
char *final = why2_calloc(text_length, sizeof(char));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user