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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 25 Aug 2006 17:23:02 -0000


albertel		Fri Aug 25 13:23:02 2006 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - fixing some broken splits
  
  
Index: loncom/lond
diff -u loncom/lond:1.336 loncom/lond:1.337
--- loncom/lond:1.336	Mon Jul 10 22:28:17 2006
+++ loncom/lond	Fri Aug 25 13:22:59 2006
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.336 2006/07/11 02:28:17 raeburn Exp $
+# $Id: lond,v 1.337 2006/08/25 17:22:59 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.336 $'; #' stupid emacs
+my $VERSION='$Revision: 1.337 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -4083,7 +4083,8 @@
     my $userinput = $cmd.":".$tail; # For logging purposes.
 
     
-    my $cdom = split(/:/, $tail);   # Domain we're asking about.
+    my ($cdom) = split(/:/, $tail, 2);   # Domain we're asking about.
+
     my $outcome  = &localenroll::run($cdom);
     &Reply($client, "$outcome\n", $userinput);
 
@@ -5320,7 +5321,7 @@
 	    my $remotereq=<$client>;
 	    chomp($remotereq);
 	    Debug("Got init: $remotereq");
-	    my $inikeyword = split(/:/, $remotereq);
+
 	    if ($remotereq =~ /^init/) {
 		&sethost("sethost:$perlvar{'lonHostID'}");
 		#