[Nice] [nice/master] Add warning on adding stream before local addresses

Olivier Crête olivier.crete at collabora.co.uk
Wed Nov 5 14:02:17 PST 2008


---
 agent/agent.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/agent/agent.c b/agent/agent.c
index f44e792..9443a7a 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -697,6 +697,7 @@ nice_agent_add_stream (
   g_static_rec_mutex_lock (&agent->mutex);
 
   if (!agent->local_addresses) {
+    g_warn_if_fail(agent->local_addresses);
     goto done;
   }
 
-- 
1.5.6.5




More information about the Nice mailing list