some bug fixes and preparing for 6.5.4 bugfix cycle
This commit is contained in:
parent
69d43e28c8
commit
e972d70ee7
9 changed files with 515 additions and 165 deletions
|
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue