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

matthew lon-capa-cvs@mail.lon-capa.org
Fri, 11 Jul 2003 20:41:42 -0000


matthew		Fri Jul 11 16:41:42 2003 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  skip blank lines in addition to those with comments.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.389 loncom/lonnet/perl/lonnet.pm:1.390
--- loncom/lonnet/perl/lonnet.pm:1.389	Wed Jul  9 02:20:42 2003
+++ loncom/lonnet/perl/lonnet.pm	Fri Jul 11 16:41:41 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.389 2003/07/09 06:20:42 www Exp $
+# $Id: lonnet.pm,v 1.390 2003/07/11 20:41:41 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4100,7 +4100,8 @@
     %domain_auth_arg_def = ();
     if ($fh) {
        while (<$fh>) {
-           next if /^\#/;
+           next if (/^(\#|\s*$)/);
+#           next if /^\#/;
            chomp;
            my ($domain, $domain_description, $def_auth, $def_auth_arg)
                = split(/:/,$_,4);