X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fmsg_status.pl;h=6c3e1cb3efae3e0cac75eda63390192cc1e17108;hb=6ccc3a6e864a2fee18786a7070400c7c4f22cf7c;hp=6462568afadd8767f255cb39a6e2454c01e418b1;hpb=273e163e763b8b61ca39875ae2797e048d1895aa;p=spider.git diff --git a/cmd/show/msg_status.pl b/cmd/show/msg_status.pl index 6462568a..6c3e1cb3 100644 --- a/cmd/show/msg_status.pl +++ b/cmd/show/msg_status.pl @@ -23,7 +23,8 @@ if (!$line || $line =~ /^w/i) { push @out, "----------"; for (keys %DXMsg::work) { my $r = $DXMsg::work{$_}; - push @out, "$_ : msgno $r->{msgno}, total lines $r->{linesreq}, count $r->{count}\n"; + my $n = @{$r->{lines}}; + push @out, "$_ : msgno $r->{msgno}, total lines $n, count $r->{count}\n"; push @out, "$_ : stream $r->{stream}, tonode $r->{tonode}, fromnode $r->{fromnode}\n"; } }