[LON-CAPA-cvs] cvs: loncom(version_1_0_1) / lond

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 22 Aug 2003 16:26:11 -0000


albertel		Fri Aug 22 12:26:11 2003 EDT

  Modified files:              (Branch: version_1_0_1)
    /loncom	lond 
  Log:
  - backport 1.138
  
  
Index: loncom/lond
diff -u loncom/lond:1.132 loncom/lond:1.132.2.1
--- loncom/lond:1.132	Mon Jul 14 09:43:42 2003
+++ loncom/lond	Fri Aug 22 12:26:11 2003
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.132 2003/07/14 13:43:42 matthew Exp $
+# $Id: lond,v 1.132.2.1 2003/08/22 16:26:11 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -73,7 +73,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.132 $'; #' stupid emacs
+my $VERSION='$Revision: 1.132.2.1 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid;
 my $currentdomainid;
@@ -2080,8 +2080,8 @@
 	my $curtime=time;
 	while ($filename=readdir(LONIDS)) {
 	    if ($filename eq '.' || $filename eq '..') {next;}
-	    my ($atime)=(stat($perlvar{'lonIDsDir'}.'/'.$filename))[8];
-	    if ($curtime-$atime < 3600) { $numusers++; }
+	    my ($mtime)=(stat($perlvar{'lonIDsDir'}.'/'.$filename))[9];
+	    if ($curtime-$mtime < 3600) { $numusers++; }
 	}
 	closedir(LONIDS);
     }