summaryrefslogtreecommitdiff
path: root/agent/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/stream.c')
-rw-r--r--agent/stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/stream.c b/agent/stream.c
index c1bd87b..80815a0 100644
--- a/agent/stream.c
+++ b/agent/stream.c
@@ -81,13 +81,13 @@ nice_stream_new (guint stream_id, guint n_components, NiceAgent *agent)
}
void
-nice_stream_close (NiceStream *stream)
+nice_stream_close (NiceAgent *agent, NiceStream *stream)
{
GSList *i;
for (i = stream->components; i; i = i->next) {
NiceComponent *component = i->data;
- nice_component_close (component);
+ nice_component_close (agent, component);
}
}