summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2013-12-23 23:46:15 -0500
committerOlivier CrĂȘte <olivier.crete@collabora.com>2013-12-23 23:46:15 -0500
commit951924aa86a46cba4b01ad095f8e4c97d98236b5 (patch)
tree5232d65d4b540ca04aa96d98dca81fcfac40776f
parent32bf4b287d79c2806cf3955850d1c375125dd417 (diff)
downloadlibnice-951924aa86a46cba4b01ad095f8e4c97d98236b5.tar.gz
agent: Add warning on incorrect API usage
-rw-r--r--agent/agent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/agent/agent.c b/agent/agent.c
index ae06fbe..315d8d8 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -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;
}