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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 11 Jan 2006 08:08:24 -0000


albertel		Wed Jan 11 03:08:24 2006 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - forwardport 1.683.2.8
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.695 loncom/lonnet/perl/lonnet.pm:1.696
--- loncom/lonnet/perl/lonnet.pm:1.695	Wed Jan 11 02:32:21 2006
+++ loncom/lonnet/perl/lonnet.pm	Wed Jan 11 03:08:23 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.695 2006/01/11 07:32:21 albertel Exp $
+# $Id: lonnet.pm,v 1.696 2006/01/11 08:08:23 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4965,6 +4965,11 @@
 	if ($space eq 'time') {
 	    return time;
         }
+    } elsif ($realm eq 'server') {
+# ----------------------------------------------------------------- system.time
+	if ($space eq 'name') {
+	    return $ENV{'SERVER_NAME'};
+        }
     }
     return '';
 }