cnfsstat
Heath Kehoe
heath.kehoe at intermec.com
Thu Jul 6 18:56:32 UTC 2000
cnfsstat in current snapshot is not working for me. This
patch fixes it:
Index: cnfsstat.in
===================================================================
RCS file: /home/heath/inn/repository/inn/frontends/cnfsstat.in,v
retrieving revision 1.5.2.7
diff -u -r1.5.2.7 cnfsstat.in
--- cnfsstat.in 2000/07/01 14:54:27 1.5.2.7
+++ cnfsstat.in 2000/07/06 18:53:24
@@ -325,7 +325,7 @@
my $unit = -1;
my $oldscaled = $val / $base;
my $scaled = $oldscaled;
- while ( ( $scaled > 0 ) && ( $unit < $#name ) ) {
+ while ( ( int($scaled) > 0 ) && ( $unit < $#name ) ) {
$oldscaled = $scaled;
$scaled /= $factor;
$unit++;
More information about the inn-patches
mailing list