From: eldy <> Date: Thu, 10 Jan 2002 20:09:05 +0000 (+0000) Subject: no message X-Git-Tag: AWSTATS_4_0_BETA~151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6861467b18e66b51556faa3b19c6788be10699cc;p=thirdparty%2FAWStats.git no message --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index fe3a439e..27f05187 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -1794,7 +1794,7 @@ sub Format_Bytes { if ($bytes >= $fudge * exp(2*log(1024))) { return sprintf("%.2f", $bytes/exp(2*log(1024)))." Mb"; } if ($bytes >= $fudge * exp(1*log(1024))) { return sprintf("%.2f", $bytes/exp(1*log(1024)))." $Message[44]"; } if ($bytes < 0) { $bytes="?"; } - return "$bytes $Message[75]"; + return int($bytes)." $Message[75]"; } #------------------------------------------------------------------------------