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

raeburn raeburn at source.lon-capa.org
Mon Aug 1 16:13:02 EDT 2011


raeburn		Mon Aug  1 20:13:02 2011 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - Correction  to scalar and looping in &read_lonnet_global() added in 1.477. 
  
  
Index: loncom/lond
diff -u loncom/lond:1.477 loncom/lond:1.478
--- loncom/lond:1.477	Sun Jul 31 22:55:48 2011
+++ loncom/lond	Mon Aug  1 20:13:01 2011
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.477 2011/07/31 22:55:48 raeburn Exp $
+# $Id: lond,v 1.478 2011/08/01 20:13:01 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -60,7 +60,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.477 $'; #' stupid emacs
+my $VERSION='$Revision: 1.478 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -1658,11 +1658,11 @@
                 }
             } else {
                 if (defined(${$lonnetglobal})) {
-                    $response = &escape(${$item});
+                    $response = &escape(${$lonnetglobal});
                 }
             }
+            $result .= &escape($what).'='.$response.'&';
         }
-        $result .= &escape($what).'='.$response.'&';
     }
     $result =~ s/\&$//;
     &Reply($client,\$result,$userinput);




More information about the LON-CAPA-cvs mailing list