refresh link (good idea Complication)

This commit is contained in:
jrandom
2005-12-16 04:01:05 +00:00
committed by zzz
parent 3ec92c8b62
commit 2a922098d6
2 changed files with 2 additions and 1 deletions

View File

@ -343,7 +343,7 @@ public class SnarkManager implements Snark.CompleteListener {
File f = new File(snark.torrent);
long len = snark.meta.getTotalLength();
addMessage("Download complete of " + f.getName()
+ (len < 5*1024*1024 ? " (size: " + (len/1024) + "KB)" : " (size: " + (len/1024*1024) + "MB)"));
+ (len < 5*1024*1024 ? " (size: " + (len/1024) + "KB)" : " (size: " + (len/(1024*1024l)) + "MB)"));
}
private void monitorTorrents(File dir) {