aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-15 05:41:30 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-15 05:41:30 +0000
commitb70c229f6e371d18a459429dded31053c4f0686d (patch)
tree61a7671a9c6d3654f9840d44f9f4c25ecba16d98 /src/or/main.c
parent3dcc4630b96020d9650ac2fd45e4b508653d2d78 (diff)
downloadtor-b70c229f6e371d18a459429dded31053c4f0686d.tar
tor-b70c229f6e371d18a459429dded31053c4f0686d.tar.gz
make some functions static; clean dead networkstatus entries more often.
svn:r5072
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index dd1682277..801b80da8 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -682,6 +682,7 @@ run_scheduled_events(time_t now)
if (time_to_fetch_directory < now) {
/* purge obsolete entries */
routerlist_remove_old_routers(ROUTER_MAX_AGE);
+ networkstatus_list_clean(now);
if (authdir_mode(options)) {
if (!we_are_hibernating()) { /* try to determine reachability */