diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2013-12-23 23:46:15 -0500 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2013-12-23 23:46:15 -0500 |
commit | 951924aa86a46cba4b01ad095f8e4c97d98236b5 (patch) | |
tree | 5232d65d4b540ca04aa96d98dca81fcfac40776f | |
parent | 32bf4b287d79c2806cf3955850d1c375125dd417 (diff) | |
download | libnice-951924aa86a46cba4b01ad095f8e4c97d98236b5.tar.gz |
agent: Add warning on incorrect API usage
-rw-r--r-- | agent/agent.c | 2 |
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; } |