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

www lon-capa-cvs@mail.lon-capa.org
Mon, 24 Mar 2003 19:57:35 -0000


www		Mon Mar 24 14:57:35 2003 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  Also encode section
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.349 loncom/lonnet/perl/lonnet.pm:1.350
--- loncom/lonnet/perl/lonnet.pm:1.349	Mon Mar 24 13:18:09 2003
+++ loncom/lonnet/perl/lonnet.pm	Mon Mar 24 14:57:35 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.349 2003/03/24 18:18:09 www Exp $
+# $Id: lonnet.pm,v 1.350 2003/03/24 19:57:35 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1119,8 +1119,9 @@
     if (($trole=~/^ca/) || ($trole=~/^in/) || 
         ($trole=~/^cc/) || ($trole=~/^ep/) ||
         ($trole=~/^cr/)) {
-       my (undef,$rudom,$runame)=split(/\//,$area);
-       $userrolehash{$trole.':'.$username.':'.$domain.':'.$runame.':'.$rudom}
+       my (undef,$rudom,$runame,$rsec)=split(/\//,$area);
+       $userrolehash
+         {$trole.':'.$username.':'.$domain.':'.$runame.':'.$rudom.':'.$rsec}
                     =$tend.':'.$tstart;
    }
 }