summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-16 18:19:02 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-16 18:19:02 +0000
commit9d7eba6ecc0760922c3c4e8cc06407ad79d855ae (patch)
tree12d98fe2e2f3f46d8cee69b7fa9968ba47d8324e /src/or/main.c
parent29173560b8a8ab4f2e40e7fe2e7f82c328bcc92e (diff)
downloadtor-9d7eba6ecc0760922c3c4e8cc06407ad79d855ae.tar.gz
tor-9d7eba6ecc0760922c3c4e8cc06407ad79d855ae.zip
r15868@catbus: nickm | 2007-10-16 14:18:29 -0400
Remove nearly all calls to routerlist_remove_old(). Backport candidate. svn:r11994
Diffstat (limited to 'src/or/main.c')
-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 9e289fd15a..5616fd1794 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -994,8 +994,9 @@ run_scheduled_events(time_t now)
/* If any networkstatus documents are no longer recent, we need to
* update all the descriptors' running status. */
/* purge obsolete entries */
- routerlist_remove_old_routers();
networkstatus_v2_list_clean(now);
+ /* Remove dead routers. */
+ routerlist_remove_old_routers();
#if 0
networkstatus_v2_list_update_recent(now);
#endif