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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 23 Feb 2005 23:19:43 -0000


albertel		Wed Feb 23 18:19:43 2005 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - make_room call was screwing things over
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.599 loncom/lonnet/perl/lonnet.pm:1.600
--- loncom/lonnet/perl/lonnet.pm:1.599	Thu Feb 17 17:43:27 2005
+++ loncom/lonnet/perl/lonnet.pm	Wed Feb 23 18:19:42 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.599 2005/02/17 22:43:27 albertel Exp $
+# $Id: lonnet.pm,v 1.600 2005/02/23 23:19:42 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -883,8 +883,9 @@
 	$setvalue='__undef__';
     }
     if ($debug) { &Apache::lonnet::logthis("Setting $id to $value"); }
-    $memcache->set($id,$setvalue,300);
-    &make_room($id,$value,$debug);
+    $memcache->set($id,$setvalue,$time);
+    # need to make a copy of $value
+    #&make_room($id,$value,$debug);
     return $value;
 }