[LON-CAPA-cvs] cvs: loncom(store_expirement) / lond
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 09 Feb 2006 20:39:26 -0000
albertel Thu Feb 9 15:39:26 2006 EDT
Modified files: (Branch: store_expirement)
/loncom lond
Log:
- add timestamp to the entry
Index: loncom/lond
diff -u loncom/lond:1.318.2.1 loncom/lond:1.318.2.2
--- loncom/lond:1.318.2.1 Thu Feb 9 15:23:28 2006
+++ loncom/lond Thu Feb 9 15:39:25 2006
@@ -2,7 +2,7 @@
# The LearningOnline Network
# lond "LON Daemon" Server (port "LOND" 5663)
#
-# $Id: lond,v 1.318.2.1 2006/02/09 20:23:28 albertel Exp $
+# $Id: lond,v 1.318.2.2 2006/02/09 20:39:25 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -61,7 +61,7 @@
my $lastlog='';
my $lond_max_wait_time = 13;
-my $VERSION='$Revision: 1.318.2.1 $'; #' stupid emacs
+my $VERSION='$Revision: 1.318.2.2 $'; #' stupid emacs
my $remoteVERSION;
my $currenthostid="default";
my $currentdomainid;
@@ -3071,9 +3071,7 @@
my ($key)=split(/=/,$pair);
$allkeys.=$key.':';
}
- $hashref->{"$version:$rid"}=$what;
-
- $hashref->{"$version:$rid:timestamp"}=$now;
+ $hashref->{"$version:$rid"}=$what."\×tamp=$now";
$allkeys.='timestamp';
$hashref->{"$version:keys:$rid"}=$allkeys;
if (&untie_user_hash($hashref)) {