Commit 3b16d8b0 authored by Olivier Crête's avatar Olivier Crête 👻

agent: Creating TURN TCP socket can not fail

parent 194952e8
......@@ -1388,10 +1388,6 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent,
cdisco->nicesock = nice_tcp_turn_socket_new (agent, socket,
agent_to_turn_socket_compatibility (agent));
if (!cdisco->nicesock) {
g_error ("Could not create tcp turn socket");
agent_attach_stream_component_socket (agent, stream,
component, cdisco->nicesock);
component->sockets = g_slist_append (component->sockets, cdisco->nicesock);
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