From: <kak...@us...> - 2008-10-06 22:45:40
|
Revision: 10567 http://amsn.svn.sourceforge.net/amsn/?rev=10567&view=rev Author: kakaroto Date: 2008-10-06 22:45:34 +0000 (Mon, 06 Oct 2008) Log Message: ----------- on some systems, the tcl floating point precision might make us output some very huge qvalue numbers, so we must format it to 3 digits Modified Paths: -------------- trunk/amsn/sip.tcl Modified: trunk/amsn/sip.tcl =================================================================== --- trunk/amsn/sip.tcl 2008-10-06 01:11:22 UTC (rev 10566) +++ trunk/amsn/sip.tcl 2008-10-06 22:45:34 UTC (rev 10567) @@ -758,7 +758,7 @@ $qvalue >= "0.5" } {continue} if {$candidate_id != "" && $password != "" } { if {$local == "" || $candidate_id == $local} { - append sdp "a=candidate:$candidate_id $component_id $password $transport $qvalue $ip $port\r\n" + append sdp "a=candidate:$candidate_id $component_id $password $transport [format $.3f $qvalue] $ip $port\r\n" } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |