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, ...@@ -2017,8 +2017,8 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent,
agent->proxy_ip != NULL && agent->proxy_ip != NULL &&
nice_address_set_from_string (&proxy_server, agent->proxy_ip)) { nice_address_set_from_string (&proxy_server, agent->proxy_ip)) {
nice_address_set_port (&proxy_server, agent->proxy_port); nice_address_set_port (&proxy_server, agent->proxy_port);
nicesock = nice_tcp_bsd_socket_new (agent->main_context, &proxy_server, nicesock = nice_tcp_bsd_socket_new (agent->main_context, &local_address,
&local_address, reliable_tcp); &proxy_server, reliable_tcp);
if (nicesock) { if (nicesock) {
_priv_set_socket_tos (agent, nicesock, stream->tos); _priv_set_socket_tos (agent, nicesock, stream->tos);
...@@ -2036,8 +2036,8 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent, ...@@ -2036,8 +2036,8 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent,
} }
if (nicesock == NULL) { if (nicesock == NULL) {
nicesock = nice_tcp_bsd_socket_new (agent->main_context, &turn->server, nicesock = nice_tcp_bsd_socket_new (agent->main_context, &local_address,
&local_address, reliable_tcp); &turn->server, reliable_tcp);
if (nicesock) if (nicesock)
_priv_set_socket_tos (agent, nicesock, stream->tos); _priv_set_socket_tos (agent, nicesock, stream->tos);
......
...@@ -109,8 +109,8 @@ nice_tcp_bsd_socket_new_from_gsock (GMainContext *ctx, GSocket *gsock, ...@@ -109,8 +109,8 @@ nice_tcp_bsd_socket_new_from_gsock (GMainContext *ctx, GSocket *gsock,
} }
NiceSocket * NiceSocket *
nice_tcp_bsd_socket_new (GMainContext *ctx, NiceAddress *remote_addr, nice_tcp_bsd_socket_new (GMainContext *ctx, NiceAddress *local_addr,
NiceAddress *local_addr, gboolean reliable) NiceAddress *remote_addr, gboolean reliable)
{ {
union { union {
struct sockaddr_storage storage; struct sockaddr_storage storage;
......
...@@ -48,7 +48,7 @@ nice_tcp_bsd_socket_new (GMainContext *ctx, NiceAddress *remote_addr, ...@@ -48,7 +48,7 @@ nice_tcp_bsd_socket_new (GMainContext *ctx, NiceAddress *remote_addr,
NiceSocket * NiceSocket *
nice_tcp_bsd_socket_new_from_gsock (GMainContext *ctx, GSocket *gsock, 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 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