summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/net_crypto.c')
-rw-r--r--toxcore/net_crypto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c
index 1d93bc6a..a286df2a 100644
--- a/toxcore/net_crypto.c
+++ b/toxcore/net_crypto.c
@@ -2260,7 +2260,8 @@ int connection_lossy_data_handler(Net_Crypto *c, int crypt_connection_id,
2260 * return -1 on failure. 2260 * return -1 on failure.
2261 * return 0 on success. 2261 * return 0 on success.
2262 */ 2262 */
2263int nc_dht_pk_callback(Net_Crypto *c, int crypt_connection_id, void (*function)(void *data, int32_t number, const uint8_t *dht_public_key), void *object, uint32_t number) 2263int nc_dht_pk_callback(Net_Crypto *c, int crypt_connection_id, void (*function)(void *data, int32_t number,
2264 const uint8_t *dht_public_key), void *object, uint32_t number)
2264{ 2265{
2265 Crypto_Connection *conn = get_crypto_connection(c, crypt_connection_id); 2266 Crypto_Connection *conn = get_crypto_connection(c, crypt_connection_id);
2266 2267