[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 09 Feb 2005 22:39:50 -0000
albertel Wed Feb 9 17:39:50 2005 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- typo
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.596 loncom/lonnet/perl/lonnet.pm:1.597
--- loncom/lonnet/perl/lonnet.pm:1.596 Wed Feb 9 17:04:22 2005
+++ loncom/lonnet/perl/lonnet.pm Wed Feb 9 17:39:49 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.596 2005/02/09 22:04:22 albertel Exp $
+# $Id: lonnet.pm,v 1.597 2005/02/09 22:39:49 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5683,7 +5683,7 @@
next if ($configline =~ /^(\#|\s*$)/);
chomp($configline);
my ($id,$domain,$role,$name)=split(/:/,$configline);
- $name=~s/\s^//g;
+ $name=~s/\s//g;
if ($id && $domain && $role && $name) {
my $ip = gethostbyname($name);
if (length($ip) ne 4) {