[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /lonnet/perl lonnet.pm

raeburn raeburn at source.lon-capa.org
Wed Jun 25 14:44:11 EDT 2014


raeburn		Wed Jun 25 18:44:11 2014 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - For 2.11
    - Backport 1.1263
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1172.2.51 loncom/lonnet/perl/lonnet.pm:1.1172.2.52
--- loncom/lonnet/perl/lonnet.pm:1.1172.2.51	Fri Jun 13 03:34:54 2014
+++ loncom/lonnet/perl/lonnet.pm	Wed Jun 25 18:44:10 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1172.2.51 2014/06/13 03:34:54 raeburn Exp $
+# $Id: lonnet.pm,v 1.1172.2.52 2014/06/25 18:44:10 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -11879,7 +11879,7 @@
 	$alldns{$host} = $protocol;
     }
     while (%alldns) {
-	my ($dns) = keys(%alldns);
+	my ($dns) = sort { $b cmp $a } keys(%alldns);
 	my $ua=new LWP::UserAgent;
         $ua->timeout(30);
 	my $request=new HTTP::Request('GET',"$alldns{$dns}://$dns$url");




More information about the LON-CAPA-cvs mailing list