Removec old comment

This commit is contained in:
n07070 2020-04-28 20:12:59 +02:00
parent fae758e4dd
commit 70ca7f5f10

View File

@ -234,7 +234,7 @@ int add_data(unsigned char len, int64_t id, int16_t seqno, char *data) {
// We create the next node of the linked list. // We create the next node of the linked list.
tmp->data = (void *) message; tmp->data = (void *) message;
tmp->next = NULL; tmp->next = NULL;
} else { } else {
// we move until the last element of the dala_list, // we move until the last element of the dala_list,
// and add or data there. // and add or data there.
@ -755,7 +755,6 @@ int check_header(char * received_data_buffer, int received_data_len, struct pack
int add_message(char * message, int message_len){ int add_message(char * message, int message_len){
int seqno = 1337; int seqno = 1337;
// int add_data(unsigned char len, int64_t id, int16_t seqno, char *data) {
int rc = add_data((unsigned char) message_len, (int64_t) NODE_ID ,(int16_t) seqno, message); int rc = add_data((unsigned char) message_len, (int64_t) NODE_ID ,(int16_t) seqno, message);
if (rc > 0) { if (rc > 0) {
print_debug(">> Message added."); print_debug(">> Message added.");