[or-cvs] r8273: and make the comment better, while i'm at it (tor/trunk/src/or)

arma at seul.org arma at seul.org
Mon Aug 28 19:02:57 UTC 2006


Author: arma
Date: 2006-08-28 15:02:57 -0400 (Mon, 28 Aug 2006)
New Revision: 8273

Modified:
   tor/trunk/src/or/main.c
Log:
and make the comment better, while i'm at it


Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c	2006-08-28 19:00:17 UTC (rev 8272)
+++ tor/trunk/src/or/main.c	2006-08-28 19:02:57 UTC (rev 8273)
@@ -596,7 +596,8 @@
     return;
   }
 
-  /* Expire any directory connections that haven't sent anything for 5 min */
+  /* Expire any directory connections that haven't been active (sent
+   * if a server or received if a client) for 5 min */
   if (conn->type == CONN_TYPE_DIR &&
       ((DIR_CONN_IS_SERVER(conn) &&
         conn->timestamp_lastwritten + DIR_CONN_MAX_STALL < now) ||



More information about the tor-commits mailing list