summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r--toxcore/Messenger.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c
index 4f84ba6b..bb3a56f0 100644
--- a/toxcore/Messenger.c
+++ b/toxcore/Messenger.c
@@ -153,7 +153,6 @@ void getaddress(Messenger *m, uint8_t *address)
153 * Add a friend. 153 * Add a friend.
154 * Set the data that will be sent along with friend request. 154 * Set the data that will be sent along with friend request.
155 * Address is the address of the friend (returned by getaddress of the friend you wish to add) it must be FRIEND_ADDRESS_SIZE bytes. 155 * Address is the address of the friend (returned by getaddress of the friend you wish to add) it must be FRIEND_ADDRESS_SIZE bytes.
156 * TODO: add checksum.
157 * data is the data and length is the length. 156 * data is the data and length is the length.
158 * 157 *
159 * return the friend number if success. 158 * return the friend number if success.
@@ -1604,7 +1603,6 @@ static void check_friend_request_timed_out(Messenger *m, uint32_t i, uint64_t t)
1604/* TODO: Make this function not suck. */ 1603/* TODO: Make this function not suck. */
1605void do_friends(Messenger *m) 1604void do_friends(Messenger *m)
1606{ 1605{
1607 /* TODO: Add incoming connections and some other stuff. */
1608 uint32_t i; 1606 uint32_t i;
1609 int len; 1607 int len;
1610 uint8_t temp[MAX_DATA_SIZE]; 1608 uint8_t temp[MAX_DATA_SIZE];