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

raeburn raeburn at source.lon-capa.org
Tue Aug 16 16:11:23 EDT 2011


raeburn		Tue Aug 16 20:11:23 2011 EDT

  Modified files:              (Branch: version_2_10_X)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - Backport 1.1114. 
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1056.4.28 loncom/lonnet/perl/lonnet.pm:1.1056.4.29
--- loncom/lonnet/perl/lonnet.pm:1.1056.4.28	Thu Jul 28 18:30:16 2011
+++ loncom/lonnet/perl/lonnet.pm	Tue Aug 16 20:11:23 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1056.4.28 2011/07/28 18:30:16 raeburn Exp $
+# $Id: lonnet.pm,v 1.1056.4.29 2011/08/16 20:11:23 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -831,7 +831,7 @@
     my $userloadans = &reply('userload',$try_server);
 
     if ($loadans !~ /\d/ && $userloadans !~ /\d/) {
-        return; #didn't get a number from the server
+        return ($spare_server, $lowest_load); #didn't get a number from the server
     }
 
     my $load;




More information about the LON-CAPA-cvs mailing list