summaryrefslogtreecommitdiff
path: root/toxcore/ping_array.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-05-12 14:39:12 -0400
committerirungentoo <irungentoo@gmail.com>2014-05-12 14:39:12 -0400
commit8783bea25ee366cfa3b1fa7c8930c2c2ffaef8fc (patch)
tree57229407341f4ddb88cb5c337e12e6305eb7099e /toxcore/ping_array.h
parent10da970e0dfcb21fda4da96635b690065375daff (diff)
Use ping_array to store onion announce information instead of sending
over a huge cookie. This reduces the size of the onion announce packets by 100 bytes.
Diffstat (limited to 'toxcore/ping_array.h')
-rw-r--r--toxcore/ping_array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/ping_array.h b/toxcore/ping_array.h
index b7fff1eb..c5811b16 100644
--- a/toxcore/ping_array.h
+++ b/toxcore/ping_array.h
@@ -53,7 +53,7 @@ uint64_t ping_array_add(Ping_Array *array, uint8_t *data, uint32_t length);
53/* Check if ping_id is valid and not timed out. 53/* Check if ping_id is valid and not timed out.
54 * 54 *
55 * On success, copies the data into data of length, 55 * On success, copies the data into data of length,
56 * 56 *
57 * return length of data copied on success. 57 * return length of data copied on success.
58 * return -1 on failure. 58 * return -1 on failure.
59 */ 59 */