[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
From:       albertel <lon-capa-cvs () mail ! lon-capa ! org>
Date:       2006-09-28 20:03:56
Message-ID: cvsalbertel1159473836 () cvsserver
[Download RAW message or body]

albertel		Thu Sep 28 16:03:56 2006 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - forward port 1.782.2.2
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.784 loncom/lonnet/perl/lonnet.pm:1.785
--- loncom/lonnet/perl/lonnet.pm:1.784	Wed Sep 27 21:38:59 2006
+++ loncom/lonnet/perl/lonnet.pm	Thu Sep 28 16:03:55 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.784 2006/09/28 01:38:59 albertel Exp $
+# $Id: lonnet.pm,v 1.785 2006/09/28 20:03:55 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -7189,7 +7189,7 @@
        chomp($configline);
        if ($configline) {
 	   my ($host,$type) = split(':',$configline,2);
-	   if ($type eq '') { $type = 'default' };
+	   if (!defined($type) || $type eq '') { $type = 'default' };
 	   push(@{ $spareid{$type} }, $host);
        }
     }


_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic