Fixed last PR.

This commit is contained in:
irungentoo 2015-06-28 22:51:27 -04:00
parent 652eb54222
commit 219fabc0f5
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -1112,7 +1112,7 @@ int add_tcp_relay_connection(TCP_Connections *tcp_c, int connections_number, IP_
return -1; 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); TCP_con *tcp_con = get_tcp_connection(tcp_c, tcp_connections_number);