[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
foxr
lon-capa-cvs@mail.lon-capa.org
Mon, 30 Oct 2006 11:10:52 -0000
foxr Mon Oct 30 06:10:52 2006 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
missing parameter to chomp caused httpd restart to fail.. added
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.800 loncom/lonnet/perl/lonnet.pm:1.801
--- loncom/lonnet/perl/lonnet.pm:1.800 Fri Oct 27 17:54:40 2006
+++ loncom/lonnet/perl/lonnet.pm Mon Oct 30 06:10:51 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.800 2006/10/27 21:54:40 albertel Exp $
+# $Id: lonnet.pm,v 1.801 2006/10/30 11:10:51 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -7236,7 +7236,7 @@
while (my $line = <$fh>) {
next if ($line =~ /^(\#|\s*$)/);
# next if /^\#/;
- chomp;
+ chomp $line;
my ($domain, $domain_description, $def_auth, $def_auth_arg,
$def_lang, $city, $longi, $lati, $primary) = split(/:/,$line,9);
$domain_auth_def{$domain}=$def_auth;