summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-21 16:16:56 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-27 18:05:01 -0400
commitd45b912058a38d5c29a389f547660dd1283d2ae1 (patch)
tree7a34d36f7be0d6c06cba9db339e1e401c9159ced /src/or/networkstatus.c
parent3a492d31d5c50ef3b766881ae1d765c296d55797 (diff)
downloadtor-d45b912058a38d5c29a389f547660dd1283d2ae1.tar.gz
tor-d45b912058a38d5c29a389f547660dd1283d2ae1.zip
Clean long-unlisted microdescs from the cache
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 704e665253..cba02f3709 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -20,6 +20,7 @@
#include "dirserv.h"
#include "dirvote.h"
#include "main.h"
+#include "microdesc.h"
#include "networkstatus.h"
#include "relay.h"
#include "router.h"
@@ -282,6 +283,7 @@ router_reload_consensus_networkstatus(void)
update_certificate_downloads(time(NULL));
routers_update_all_from_networkstatus(time(NULL), 3);
+ update_microdescs_from_networkstatus(time(NULL));
return 0;
}