<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -138,8 +138,8 @@ class torrentActions extends sfActions
 
         $data = json_encode(Array(
             'percent'=&gt;$percent,
-            'finished'=&gt;$info['size_download'],
-            'total'=&gt;$info['download_content_length'],
+            'finished'=&gt;intval($info['size_download']),
+            'total'=&gt;intval($info['download_content_length']),
         ));
 
         $fp = fopen($path, &quot;w&quot;);</diff>
      <filename>apps/tracker/modules/torrent/actions/actions.class.php</filename>
    </modified>
    <modified>
      <diff>@@ -17,9 +17,10 @@ function sideload(submit) {
       onSuccess: function(transport) {
 	var data = transport.responseText.evalJSON();
 	indicator.style.width = &quot;&quot;+parseInt(data.percent)+&quot;%&quot;;
-	percentage.update(&quot;&quot;+parseInt(data.percent)+&quot;%, &quot;+parseInt(data.finished/1024)+&quot;KB / &quot;+parseInt(data.total/1024)+&quot;KB&quot;);
+	percentage.update(&quot;&quot;+parseInt(data.percent)+&quot;%, &quot;+parseInt(data.finished/1024).toLocaleString()+&quot;KB / &quot;+
+        parseInt(data.total/1024).toLocaleString()+&quot;KB&quot;);
 	if(parseInt(data.percent) &gt;= 100) { window.location.reload(); }
       }
     });
   }, 0.3);
-};
\ No newline at end of file
+};</diff>
      <filename>js/sideload.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>051e11e6967327226704bc28a98d91700c31680b</id>
    </parent>
  </parents>
  <author>
    <name>Jon Williams</name>
    <email>jonathan.williams@gmail.com</email>
  </author>
  <url>http://github.com/WIZARDISHUNGRY/sflimetracker/commit/2f5d061057882e69044d5a456f2a7a32cc4bbeab</url>
  <id>2f5d061057882e69044d5a456f2a7a32cc4bbeab</id>
  <committed-date>2009-05-29T13:27:30-07:00</committed-date>
  <authored-date>2009-05-29T13:27:30-07:00</authored-date>
  <message>non working number fmt fix</message>
  <tree>9089f792be63ca2871e6d3aa66b6a796b7a30685</tree>
  <committer>
    <name>Jon Williams</name>
    <email>jonathan.williams@gmail.com</email>
  </committer>
</commit>
