aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-11-14 04:55:02 +0000
committerRoger Dingledine <arma@torproject.org>2004-11-14 04:55:02 +0000
commit3f5c1138156de232dd27c0cd6da9eb3143d7168e (patch)
treebf024d6a0a60413402eb5eda3af3adcab191d948
parent23c6d8a926ea750ee56e8369f6259674546648d6 (diff)
downloadtor-3f5c1138156de232dd27c0cd6da9eb3143d7168e.tar
tor-3f5c1138156de232dd27c0cd6da9eb3143d7168e.tar.gz
clean a comment
svn:r2844
-rw-r--r--src/or/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 484461a50..bbe48fd05 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -593,7 +593,8 @@ static void run_scheduled_events(time_t now) {
time_to_fetch_directory = now + options->DirFetchPostPeriod;
}
- /* 2b. Once per minute, regenerate and upload the descriptor if it is wrong */
+ /* 2b. Once per minute, regenerate and upload the descriptor if the old
+ * one is inaccurate. */
if (time_to_check_descriptor < now) {
time_to_check_descriptor = now + CHECK_DESCRIPTOR_INTERVAL;
if (decide_if_publishable_server(now)) {