X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fstat%2Fmsg.pl;h=715c866701a5af64c075426df20ebc9b858d02c2;hb=a204e3cd89e849e97db25879b4ddf62b770bd227;hp=dfacd062602fcbd69c0c321ea0661ca9682b0403;hpb=bdaffbb7128f585525f07419d6025ce7663816bf;p=spider.git diff --git a/cmd/stat/msg.pl b/cmd/stat/msg.pl index dfacd062..715c8667 100644 --- a/cmd/stat/msg.pl +++ b/cmd/stat/msg.pl @@ -13,9 +13,9 @@ return (1, $self->msg('e5')) if $self->priv < 1; if (@list == 0) { my $ref; push @out, "Work Queue Keys"; - push @out, map { " $_" } sort DXMsg::get_all_fwq(); + push @out, map { " $_" } sort (DXMsg::get_all_fwq()); push @out, "Busy Queue Data"; - foreach my $key (sort DXMsg::get_all_busy()) { + foreach my $key (sort (DXMsg::get_all_busy())) { $ref = DXMsg::get_busy($key); if ($ref) { my $msgno = $ref->msgno;