diff options
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/TCP_connection.c | 2 |
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 | ||