From: minima Date: Mon, 6 Mar 2006 22:11:26 +0000 (+0000) Subject: make sure it's a row of 5 and not 4 X-Git-Tag: 1.53~48 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=e8b741ad3a8df323116b5a42c833080e87ad3f5b;p=spider.git make sure it's a row of 5 and not 4 --- diff --git a/cmd/show/configuration.pl b/cmd/show/configuration.pl index fe8acf96..7c4bbf27 100644 --- a/cmd/show/configuration.pl +++ b/cmd/show/configuration.pl @@ -66,7 +66,7 @@ if ($list[0] && $list[0] =~ /^NOD/) { push @l, sprintf "(%d users)", $node->usercount; } foreach $call (@val) { - if (@l >= 5) { + if (@l >= 6) { push @out, sprintf "%-12s %-12s %-12s %-12s %-12s %-12s", @l; @l = (); push @l, ""; @@ -80,7 +80,7 @@ if ($list[0] && $list[0] =~ /^NOD/) { } push @l, $s; } - push @l, "" while @l < 5; + push @l, "" while @l < 6; push @out, sprintf "%-12s %-12s %-12s %-12s %-12s %-12s", @l; } }