[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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) ||