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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Wed, 04 Apr 2007 00:02:50 -0000


albertel		Tue Apr  3 20:02:50 2007 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - callling wrong routine
  
  
Index: loncom/lond
diff -u loncom/lond:1.368 loncom/lond:1.369
--- loncom/lond:1.368	Mon Apr  2 20:49:55 2007
+++ loncom/lond	Tue Apr  3 20:02:50 2007
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.368 2007/04/03 00:49:55 albertel Exp $
+# $Id: lond,v 1.369 2007/04/04 00:02:50 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.368 $'; #' stupid emacs
+my $VERSION='$Revision: 1.369 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -6174,7 +6174,7 @@
     if (&Apache::lonnet::get_host_ip($perlvar{'lonHostID'}) 
 	eq &Apache::lonnet::get_host_ip($hostid)) {
 	$currenthostid  =$hostid;
-	$currentdomainid=&Apache::lonnet::domain($hostid);
+	$currentdomainid=&Apache::lonnet::host_domain($hostid);
 	&logthis("Setting hostid to $hostid, and domain to $currentdomainid");
     } else {
 	&logthis("Requested host id $hostid not an alias of ".