summaryrefslogtreecommitdiff
path: root/toxcore/TCP_connection.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-05-06 21:04:31 -0400
committerirungentoo <irungentoo@gmail.com>2015-05-06 21:04:31 -0400
commit3d70fe126cb9ff55096aaac2943da1687e15ee0d (patch)
treef21bdd314607c75a014dbb3b118d3c55786ad175 /toxcore/TCP_connection.c
parent048d79302129f7e959f4ab864969ab1793a8830b (diff)
Removed useless line.
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;