From 219fabc0f5dbaac7968cb7728d25dface3ebb2ea Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sun, 28 Jun 2015 22:51:27 -0400 Subject: Fixed last PR. --- toxcore/TCP_connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxcore') 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_ return -1; } - int tcp_connections_number = add_tcp_relay(tcp_c, ip_port, relay_pk); + int tcp_connections_number = add_tcp_relay_instance(tcp_c, ip_port, relay_pk); TCP_con *tcp_con = get_tcp_connection(tcp_c, tcp_connections_number); -- cgit v1.2.3