[farsight2/master] Check the right session id

Louis-Francis Ratté-Boulianne louis-francis.ratte-boulianne at collabora.co.uk
Tue Jul 14 09:51:03 PDT 2009


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

diff --git a/gst/fsmsnconference/fs-msn-connection.c b/gst/fsmsnconference/fs-msn-connection.c
index 0e72b73..cf20306 100644
--- a/gst/fsmsnconference/fs-msn-connection.c
+++ b/gst/fsmsnconference/fs-msn-connection.c
@@ -390,7 +390,7 @@ fs_msn_connection_set_remote_candidates (FsMsnConnection *self,
     {
       gint sid = atoi (candidate->username);
 
-      if (sid < 1 || session_id > 9999)
+      if (sid < 1 || sid > 9999)
       {
           g_set_error (error, FS_ERROR, FS_ERROR_INVALID_ARGUMENTS,
               "The session ID (in the username) must be between 9000 and 9999,"
-- 
1.5.6.5




More information about the farsight-commits mailing list