[farsight2/master] Compare selected pair to the foundation (not the struct...)
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:20 PST 2008
---
transmitters/nice/fs-nice-stream-transmitter.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index 8d7a678..31adb87 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -864,7 +864,7 @@ fs_nice_stream_transmitter_selected_pair (
{
NiceCandidate *candidate = item->data;
- if (!strcmp (item->data, lfoundation))
+ if (!strcmp (candidate->foundation, lfoundation))
{
local = nice_candidate_to_fs_candidate (self->priv->transmitter->agent,
candidate);
@@ -881,7 +881,7 @@ fs_nice_stream_transmitter_selected_pair (
{
NiceCandidate *candidate = item->data;
- if (!strcmp (item->data, lfoundation))
+ if (!strcmp (candidate->foundation, lfoundation))
{
remote = nice_candidate_to_fs_candidate (self->priv->transmitter->agent,
candidate);
--
1.5.6.5
More information about the farsight-commits
mailing list