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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Thu, 23 Aug 2007 17:39:21 -0000


albertel		Thu Aug 23 13:39:21 2007 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - correct comments
  
  
Index: loncom/lond
diff -u loncom/lond:1.378 loncom/lond:1.379
--- loncom/lond:1.378	Wed Aug  8 18:24:36 2007
+++ loncom/lond	Thu Aug 23 13:39:20 2007
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.378 2007/08/08 22:24:36 albertel Exp $
+# $Id: lond,v 1.379 2007/08/23 17:39:20 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.378 $'; #' stupid emacs
+my $VERSION='$Revision: 1.379 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -2187,13 +2187,13 @@
 &register_handler("sub", \&subscribe_handler, 0, 1, 0);
 
 #
-#   Determine the version of a resource (?) Or is it return
-#   the top version of the resource?  Not yet clear from the
-#   code in currentversion.
+#   Determine the latest version of a resource (it looks for the highest
+#   past version and then returns that +1)
 #
 # Parameters:
 #    $cmd      - The command that got us here.
 #    $tail     - Tail of the command (remaining parameters).
+#                 (Should consist of an absolute path to a file)
 #    $client   - File descriptor connected to client.
 # Returns
 #     0        - Requested to exit, caller should shut down.