agent: Add warning on incorrect API usage
authorOlivier Crête <olivier.crete@collabora.com>
Tue, 24 Dec 2013 04:46:15 +0000 (23:46 -0500)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 24 Dec 2013 04:46:15 +0000 (23:46 -0500)
agent/agent.c

index ae06fbe..315d8d8 100644 (file)
@@ -2397,6 +2397,8 @@ nice_agent_send (
 
   if (!agent_find_component (agent, stream_id, component_id,
           &stream, &component)) {
+    g_critical ("Unknown stream/component combination: %d:%d",
+        stream_id, component_id);
     goto done;
   }