summaryrefslogtreecommitdiff
path: root/toxcore/friend_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/friend_connection.h')
-rw-r--r--toxcore/friend_connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/friend_connection.h b/toxcore/friend_connection.h
index 56401547..64280acb 100644
--- a/toxcore/friend_connection.h
+++ b/toxcore/friend_connection.h
@@ -122,7 +122,7 @@ int get_friendcon_public_keys(uint8_t *real_pk, uint8_t *dht_temp_pk, Friend_Con
122 122
123/* Set temp dht key for connection. 123/* Set temp dht key for connection.
124 */ 124 */
125void set_dht_temp_pk(Friend_Connections *fr_c, int friendcon_id, uint8_t *dht_temp_pk); 125void set_dht_temp_pk(Friend_Connections *fr_c, int friendcon_id, const uint8_t *dht_temp_pk);
126 126
127/* Set the callbacks for the friend connection. 127/* Set the callbacks for the friend connection.
128 * index is the index (0 to (MAX_FRIEND_CONNECTION_CALLBACKS - 1)) we want the callback to set in the array. 128 * index is the index (0 to (MAX_FRIEND_CONNECTION_CALLBACKS - 1)) we want the callback to set in the array.