summaryrefslogtreecommitdiff
path: root/toxcore/TCP_connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/TCP_connection.c')
-rw-r--r--toxcore/TCP_connection.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/toxcore/TCP_connection.c b/toxcore/TCP_connection.c
index fe39dc52..b0b26d20 100644
--- a/toxcore/TCP_connection.c
+++ b/toxcore/TCP_connection.c
@@ -249,7 +249,6 @@ int send_packet_tcp_connection(TCP_Connections *tcp_c, int connections_number, c
249 for (i = 0; i < MAX_FRIEND_TCP_CONNECTIONS; ++i) { 249 for (i = 0; i < MAX_FRIEND_TCP_CONNECTIONS; ++i) {
250 uint32_t tcp_con_num = con_to->connections[i].tcp_connection; 250 uint32_t tcp_con_num = con_to->connections[i].tcp_connection;
251 uint8_t status = con_to->connections[i].status; 251 uint8_t status = con_to->connections[i].status;
252 uint8_t connection_id = con_to->connections[i].connection_id;
253 252
254 if (tcp_con_num && status == TCP_CONNECTIONS_STATUS_REGISTERED) { 253 if (tcp_con_num && status == TCP_CONNECTIONS_STATUS_REGISTERED) {
255 tcp_con_num -= 1; 254 tcp_con_num -= 1;