]> dxcluster.net Git - spider.git/commitdiff
make sure it's a row of 5 and not 4
authorminima <minima>
Mon, 6 Mar 2006 22:11:26 +0000 (22:11 +0000)
committerminima <minima>
Mon, 6 Mar 2006 22:11:26 +0000 (22:11 +0000)
cmd/show/configuration.pl

index fe8acf9678c4027224ba65e7456570e97a31588f..7c4bbf27572cc5d9931f54605b6a2531e84d746d 100644 (file)
@@ -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;
        }
 }