From a9c88afac4e235c35b2c12a73222d2150b916a2a Mon Sep 17 00:00:00 2001 From: aymeric Date: Mon, 9 Mar 2009 11:19:11 +0000 Subject: [PATCH] fix unix file mode git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@315 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/mediastreamer2/src/ice.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/linphone/mediastreamer2/src/ice.c b/linphone/mediastreamer2/src/ice.c index 5372dd613..645a16af1 100644 --- a/linphone/mediastreamer2/src/ice.c +++ b/linphone/mediastreamer2/src/ice.c @@ -45,10 +45,10 @@ ice_sendtest( struct IceCheckList *checklist, struct CandidatePair *remote_candi stunBuildReqSimple( &req, username, FALSE, FALSE, 1); req.hasMessageIntegrity=TRUE; - /* 7.1.1.1 - The attribute MUST be set equal to the priority that would be - assigned, based on the algorithm in Section 4.1.2, to a peer - reflexive candidate, should one be learned as a consequence of this + /* 7.1.1.1 + The attribute MUST be set equal to the priority that would be + assigned, based on the algorithm in Section 4.1.2, to a peer + reflexive candidate, should one be learned as a consequence of this check */ req.hasPriority = TRUE; req.priority.priority = (UInt32)(pow((double)2,(double)24)*(110) + pow((double)2,(double)8)*(65535) + pow((double)2,(double)0)*(256 - remote_candidate->remote_candidate.component_id)); @@ -653,7 +653,7 @@ static int ice_process_stun_message(RtpSession *session, struct IceCheckList *ch } if (checklist->rem_controlling==0 && msg.hasIceControlling) { - /* If the agent's tie-breaker is larger than or equal + /* If the agent's tie-breaker is larger than or equal to the contents of the ICE-CONTROLLING attribute -> send 487, and do not change ROLE */ if (checklist->tiebreak_value >= msg.iceControlling.value) { @@ -693,7 +693,7 @@ static int ice_process_stun_message(RtpSession *session, struct IceCheckList *ch } if (checklist->rem_controlling==1 && msg.hasIceControlled) { - + /* If the agent's tie-breaker is larger than or equal to the contents of the ICE-CONTROLLED attribute -> change ROLE */