removed completed TODOs
This commit is contained in:
parent
884efa1a92
commit
92e6632fbc
@ -159,7 +159,7 @@ char *read_socket_from_raw(char *raw)
|
|||||||
if (json_obj == NULL) return "ERR"; //RETURN IF INVALID SYNTAX WAS SENT BY SOME FUCKING SCRIPT KIDDIE
|
if (json_obj == NULL) return "ERR"; //RETURN IF INVALID SYNTAX WAS SENT BY SOME FUCKING SCRIPT KIDDIE
|
||||||
|
|
||||||
//GET STRINGS
|
//GET STRINGS
|
||||||
char *message = get_string_from_json(json_obj, "message"); //TODO: Check deallocation problems
|
char *message = get_string_from_json(json_obj, "message");
|
||||||
char *username = get_string_from_json(json_obj, "username");
|
char *username = get_string_from_json(json_obj, "username");
|
||||||
|
|
||||||
//ALLOCATE final_message
|
//ALLOCATE final_message
|
||||||
@ -398,7 +398,7 @@ char *why2_read_socket(int socket)
|
|||||||
struct json_object *json_obj = json_tokener_parse(raw_socket);
|
struct json_object *json_obj = json_tokener_parse(raw_socket);
|
||||||
|
|
||||||
//GET STRINGS
|
//GET STRINGS
|
||||||
char *message = get_string_from_json(json_obj, "message"); //TODO: Check deallocation problems
|
char *message = get_string_from_json(json_obj, "message");
|
||||||
char *username = get_string_from_json(json_obj, "username");
|
char *username = get_string_from_json(json_obj, "username");
|
||||||
|
|
||||||
//ALLOCATE final_message
|
//ALLOCATE final_message
|
||||||
@ -485,5 +485,3 @@ void *why2_listen_server(void *socket)
|
|||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: Client formatting fix
|
|
@ -44,7 +44,7 @@ void why2_list_push(why2_list_t *list, void *value, unsigned long size)
|
|||||||
buffer -> next = new_node; //LINK
|
buffer -> next = new_node; //LINK
|
||||||
}
|
}
|
||||||
|
|
||||||
list -> head = buffer; //TODO: Unused?
|
list -> head = buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
void why2_list_remove(why2_list_t *list, why2_node_t *node)
|
void why2_list_remove(why2_list_t *list, why2_node_t *node)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user