summaryrefslogtreecommitdiff
path: root/toxcore/DHT.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/DHT.c')
-rw-r--r--toxcore/DHT.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c
index 8eaf7a4d..41c24ac0 100644
--- a/toxcore/DHT.c
+++ b/toxcore/DHT.c
@@ -286,7 +286,7 @@ int packed_node_size(uint8_t ip_family)
286 * Returns size of packed IP_Port data on success 286 * Returns size of packed IP_Port data on success
287 * Return -1 on failure. 287 * Return -1 on failure.
288 */ 288 */
289static int pack_ip_port(uint8_t *data, uint16_t length, const IP_Port *ip_port) 289int pack_ip_port(uint8_t *data, uint16_t length, const IP_Port *ip_port)
290{ 290{
291 if (data == NULL) { 291 if (data == NULL) {
292 return -1; 292 return -1;
@@ -364,7 +364,7 @@ static int DHT_create_packet(const uint8_t public_key[CRYPTO_PUBLIC_KEY_SIZE],
364 * Return size of unpacked ip_port on success. 364 * Return size of unpacked ip_port on success.
365 * Return -1 on failure. 365 * Return -1 on failure.
366 */ 366 */
367static int unpack_ip_port(IP_Port *ip_port, const uint8_t *data, uint16_t length, uint8_t tcp_enabled) 367int unpack_ip_port(IP_Port *ip_port, const uint8_t *data, uint16_t length, uint8_t tcp_enabled)
368{ 368{
369 if (data == NULL) { 369 if (data == NULL) {
370 return -1; 370 return -1;