From: Olivier CrĂȘte Date: Mon, 24 Feb 2014 22:25:50 +0000 (-0500) Subject: iostream: remove re-entrant call into NiceAgent X-Git-Tag: 0.1.5~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0fc36cb22805d8a08e7b5b27fa6174ae694239e6;p=platform%2Fupstream%2Flibnice.git iostream: remove re-entrant call into NiceAgent --- diff --git a/agent/iostream.c b/agent/iostream.c index f1b6e94..f3c5e61 100644 --- a/agent/iostream.c +++ b/agent/iostream.c @@ -279,15 +279,10 @@ nice_io_stream_set_property (GObject *object, guint prop_id, GIOStream * nice_io_stream_new (NiceAgent *agent, guint stream_id, guint component_id) { - gboolean reliable_agent; - g_return_val_if_fail (NICE_IS_AGENT (agent), NULL); g_return_val_if_fail (stream_id > 0, NULL); g_return_val_if_fail (component_id > 0, NULL); - g_object_get (agent, "reliable", &reliable_agent, NULL); - g_return_val_if_fail (reliable_agent, NULL); - return g_object_new (NICE_TYPE_IO_STREAM, "agent", agent, "stream-id", stream_id,