summaryrefslogtreecommitdiff
path: root/toxcore/TCP_connection.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-06-28 22:51:27 -0400
committerirungentoo <irungentoo@gmail.com>2015-06-28 22:51:27 -0400
commit219fabc0f5dbaac7968cb7728d25dface3ebb2ea (patch)
tree81d65e6268292a958a19248b4eb7f8ee8d2e196d /toxcore/TCP_connection.c
parent652eb542225de88070afa8cf3a74fd71430c07f5 (diff)
Fixed last PR.
Diffstat (limited to 'toxcore/TCP_connection.c')
-rw-r--r--toxcore/TCP_connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/TCP_connection.c b/toxcore/TCP_connection.c
index 7a84c0c2..5f38b5dd 100644
--- a/toxcore/TCP_connection.c
+++ b/toxcore/TCP_connection.c
@@ -1112,7 +1112,7 @@ int add_tcp_relay_connection(TCP_Connections *tcp_c, int connections_number, IP_
1112 return -1; 1112 return -1;
1113 } 1113 }
1114 1114
1115 int tcp_connections_number = add_tcp_relay(tcp_c, ip_port, relay_pk); 1115 int tcp_connections_number = add_tcp_relay_instance(tcp_c, ip_port, relay_pk);
1116 1116
1117 TCP_con *tcp_con = get_tcp_connection(tcp_c, tcp_connections_number); 1117 TCP_con *tcp_con = get_tcp_connection(tcp_c, tcp_connections_number);
1118 1118