some bug fixes and preparing for 6.5.4 bugfix cycle

This commit is contained in:
JT Smith 2005-03-22 16:00:58 +00:00
parent 69d43e28c8
commit e972d70ee7
9 changed files with 515 additions and 165 deletions

View file

@ -90,11 +90,11 @@ An integer representing the number of bytes to format.
sub formatBytes {
my $size = shift;
if ($size > 1048576) {
return round($size/1048576).'MB';
return round($size/1048576).' MB';
} elsif ($size > 1024) {
return round($size/1024).'kB';
return round($size/1024).' kB';
} else {
return $size.'B';
return $size.' B';
}
}