X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fmsg_status.pl;h=7711886075507d5d5d87787a3afe399001c38930;hb=601ea9fb47810209aeedef1a3041df5a916964f3;hp=6462568afadd8767f255cb39a6e2454c01e418b1;hpb=273e163e763b8b61ca39875ae2797e048d1895aa;p=spider.git diff --git a/cmd/show/msg_status.pl b/cmd/show/msg_status.pl index 6462568a..77118860 100644 --- a/cmd/show/msg_status.pl +++ b/cmd/show/msg_status.pl @@ -3,7 +3,7 @@ # # Copyright (c) 2000 Dirk Koopman G1TLH # -# $Id$ +# # my ($self, $line) = @_; return (0, $self->msg('e5')) if $self->priv < 5; @@ -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"; } }