[LON-CAPA-cvs] cvs: loncom / lond

raeburn lon-capa-cvs@mail.lon-capa.org
Wed, 25 Aug 2004 21:00:46 -0000


raeburn		Wed Aug 25 17:00:46 2004 EDT

  Modified files:              
    /loncom	lond 
  Log:
  Restore compatibility with lonnet::putstore().  - Re-implementation of change from lond v.1.208 vs. lond v.1.207
  
  
Index: loncom/lond
diff -u loncom/lond:1.241 loncom/lond:1.242
--- loncom/lond:1.241	Tue Aug 24 17:25:08 2004
+++ loncom/lond	Wed Aug 25 17:00:46 2004
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.241 2004/08/24 21:25:08 albertel Exp $
+# $Id: lond,v 1.242 2004/08/25 21:00:46 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -57,7 +57,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.241 $'; #' stupid emacs
+my $VERSION='$Revision: 1.242 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -2177,7 +2177,7 @@
 
     my $userinput = "$cmd:$tail";
     
-    my ($udom,$uname,$namespace,$what) =split(/:/,$tail);
+    my ($udom,$uname,$namespace,$what) =split(/:/,$tail,4);
     if ($namespace ne 'roles') {
 	chomp($what);
 	my $hashref = &tie_user_hash($udom, $uname, $namespace,