[farsight2/master] msn: Check for right variable

Olivier Crête olivier.crete at collabora.co.uk
Tue Jul 14 09:50:53 PDT 2009


---
 gst/fsmsnconference/fs-msn-stream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/fsmsnconference/fs-msn-stream.c b/gst/fsmsnconference/fs-msn-stream.c
index 40690f5..8d93995 100644
--- a/gst/fsmsnconference/fs-msn-stream.c
+++ b/gst/fsmsnconference/fs-msn-stream.c
@@ -680,7 +680,7 @@ fs_msn_stream_set_remote_candidates (FsStream *stream, GList *candidates,
   FsMsnConference *conference = fs_msn_stream_get_conference (self, error);
   gboolean ret;
 
-  if (error)
+  if (!conference)
     return FALSE;
 
   GST_OBJECT_LOCK (conference);
-- 
1.5.6.5




More information about the farsight-commits mailing list