summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/Messenger.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c
index f6c37ac4..8bddd6bc 100644
--- a/toxcore/Messenger.c
+++ b/toxcore/Messenger.c
@@ -133,8 +133,7 @@ int getfriendcon_id(const Messenger *m, int32_t friendnumber)
133 return m->friendlist[friendnumber].friendcon_id; 133 return m->friendlist[friendnumber].friendcon_id;
134} 134}
135 135
136/* TODO: Another checksum algorithm might be better. 136/*
137 *
138 * return a uint16_t that represents the checksum of address of length len. 137 * return a uint16_t that represents the checksum of address of length len.
139 */ 138 */
140static uint16_t address_checksum(const uint8_t *address, uint32_t len) 139static uint16_t address_checksum(const uint8_t *address, uint32_t len)
@@ -1836,7 +1835,6 @@ static int handle_packet(void *object, int i, uint8_t *temp, uint16_t len)
1836 return 0; 1835 return 0;
1837} 1836}
1838 1837
1839/* TODO: Make this function not suck. */
1840void do_friends(Messenger *m) 1838void do_friends(Messenger *m)
1841{ 1839{
1842 uint32_t i; 1840 uint32_t i;