Commit 3cdb0a54 authored by Youness Alaoui's avatar Youness Alaoui Committed by Olivier Crête

Change argument names for tcp-bsd

parent dd0904d4
......@@ -2017,8 +2017,8 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent,
agent->proxy_ip != NULL &&
nice_address_set_from_string (&proxy_server, agent->proxy_ip)) {
nice_address_set_port (&proxy_server, agent->proxy_port);
nicesock = nice_tcp_bsd_socket_new (agent->main_context, &proxy_server,
&local_address, reliable_tcp);
nicesock = nice_tcp_bsd_socket_new (agent->main_context, &local_address,
&proxy_server, reliable_tcp);
if (nicesock) {
_priv_set_socket_tos (agent, nicesock, stream->tos);
......@@ -2036,8 +2036,8 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent,
}
if (nicesock == NULL) {
nicesock = nice_tcp_bsd_socket_new (agent->main_context, &turn->server,
&local_address, reliable_tcp);
nicesock = nice_tcp_bsd_socket_new (agent->main_context, &local_address,
&turn->server, reliable_tcp);
if (nicesock)
_priv_set_socket_tos (agent, nicesock, stream->tos);
......
......@@ -109,8 +109,8 @@ nice_tcp_bsd_socket_new_from_gsock (GMainContext *ctx, GSocket *gsock,
}
NiceSocket *
nice_tcp_bsd_socket_new (GMainContext *ctx, NiceAddress *remote_addr,
NiceAddress *local_addr, gboolean reliable)
nice_tcp_bsd_socket_new (GMainContext *ctx, NiceAddress *local_addr,
NiceAddress *remote_addr, gboolean reliable)
{
union {
struct sockaddr_storage storage;
......
......@@ -48,7 +48,7 @@ nice_tcp_bsd_socket_new (GMainContext *ctx, NiceAddress *remote_addr,
NiceSocket *
nice_tcp_bsd_socket_new_from_gsock (GMainContext *ctx, GSocket *gsock,
NiceAddress *local_addr, NiceAddress *remote_addr, gboolean reliable);
NiceAddress *remote_addr, NiceAddress *local_addr, gboolean reliable);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment