summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-02-05 05:28:52 +0000
committerRoger Dingledine <arma@torproject.org>2006-02-05 05:28:52 +0000
commita9c87fe251b984e010a65e7be8d23a0553c059d6 (patch)
treef26c3d4ad9756203aa06d004ae09b9bb7ca0e997
parent157e6a025af582d57f4e5272e35c5fbf4f2c78fb (diff)
downloadtor-a9c87fe251b984e010a65e7be8d23a0553c059d6.tar.gz
tor-a9c87fe251b984e010a65e7be8d23a0553c059d6.zip
more typos and nits
svn:r5918
-rw-r--r--src/or/routerlist.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index cd87acf535..935dc91b13 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2782,8 +2782,8 @@ routers_update_all_from_networkstatus(void)
/** Change the is_recent field of each member of networkstatus_list so that
* all members more recent than DEFAULT_RUNNING_INTERVAL are recent, and
- * at least the MIN_TO_INFLUENCE_RUNNING most recent members are resent, and no
- * others are recent. Set networkstatus_list_has_changed if anything happeed.
+ * at least the MIN_TO_INFLUENCE_RUNNING most recent members are recent, and no
+ * others are recent. Set networkstatus_list_has_changed if anything happened.
*/
void
networkstatus_list_update_recent(time_t now)
@@ -2853,6 +2853,7 @@ routerstatus_list_update_from_networkstatus(time_t now)
char conflict[DIGEST_LEN]; /* Sentinel value */
desc_digest_count_t *digest_counts = NULL;
+ /* compute which network statuses will have a vote now */
networkstatus_list_update_recent(now);
if (!networkstatus_list_has_changed)