From: minima Date: Sat, 16 Jun 2001 14:00:49 +0000 (+0000) Subject: change sort to use to field X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=76b7a9c06def95cc7a69ccbb1f1ea8c613f095a0;p=spider.git change sort to use to field --- diff --git a/cmd/stat/msg.pl b/cmd/stat/msg.pl index 2b7ed752..f8bed015 100644 --- a/cmd/stat/msg.pl +++ b/cmd/stat/msg.pl @@ -15,7 +15,7 @@ if (@list == 0) { push @out, "Work Queue Keys"; push @out, map { " $_" } sort keys %DXMsg::work; push @out, "Busy Queue Data"; - foreach $ref (sort {$a->call cmp $b->call} DXMsg::get_all_busy) { + foreach $ref (sort {$a->to cmp $b->to} DXMsg::get_all_busy) { my $msgno = $ref->msgno; my $stream = $ref->stream; my $lines = scalar $ref->lines;