[Nice] [nice/master] Warn on failure to find a component

Olivier Crete olivier.crete at collabora.co.uk
Wed Nov 5 14:01:06 PST 2008


darcs-hash:20080426001836-3e2dc-27f6f8a7efa720b3645aaf9c810b8304251e5f33.gz
---
 agent/agent.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/agent/agent.c b/agent/agent.c
index 7a0b491..9f0d74a 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -1845,6 +1845,8 @@ nice_agent_attach_recv (
 
   /* step: check that params specify an existing pair */
   if (!agent_find_component (agent, stream_id, component_id, &stream, &component)) {
+    g_warning ("Could not find component %u in stream %u", component_id,
+        stream_id);
     goto done;
   }
 
-- 
1.5.6.5




More information about the Nice mailing list