summaryrefslogtreecommitdiff
path: root/toxcore/TCP_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/TCP_server.c')
-rw-r--r--toxcore/TCP_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/TCP_server.c b/toxcore/TCP_server.c
index d055215e..b900db6b 100644
--- a/toxcore/TCP_server.c
+++ b/toxcore/TCP_server.c
@@ -619,7 +619,7 @@ static int rm_connection_index(TCP_Server *TCP_server, TCP_Secure_Connection *co
619 } 619 }
620} 620}
621 621
622static int handle_onion_recv_1(void *object, IP_Port dest, uint8_t *data, uint16_t length) 622static int handle_onion_recv_1(void *object, IP_Port dest, const uint8_t *data, uint16_t length)
623{ 623{
624 TCP_Server *TCP_server = object; 624 TCP_Server *TCP_server = object;
625 uint32_t index = dest.ip.ip6.uint32[0]; 625 uint32_t index = dest.ip.ip6.uint32[0];