[LON-CAPA-cvs] cvs: loncom(version_1_1_X) /lonnet/perl lonnet.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 15 Jan 2004 19:43:07 -0000
albertel Thu Jan 15 14:43:07 2004 EDT
Modified files: (Branch: version_1_1_X)
/loncom/lonnet/perl lonnet.pm
Log:
- backport 1.1463
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.459 loncom/lonnet/perl/lonnet.pm:1.459.2.1
--- loncom/lonnet/perl/lonnet.pm:1.459 Thu Dec 11 19:20:08 2003
+++ loncom/lonnet/perl/lonnet.pm Thu Jan 15 14:43:07 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.459 2003/12/12 00:20:08 albertel Exp $
+# $Id: lonnet.pm,v 1.459.2.1 2004/01/15 19:43:07 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3792,7 +3792,9 @@
foreach my $package (split(/,/,$packages)) {
my ($pack_type,$pack_part)=split(/_/,$package,2);
if ($pack_part eq $part) {
- return $packagetab{"$pack_type&$name&default"};
+ if (defined($packagetab{"$pack_type&$name&default"})) {
+ return $packagetab{"$pack_type&$name&default"};
+ }
}
}
return undef;