aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-08-13 18:47:22 +0000
committerNick Mathewson <nickm@torproject.org>2007-08-13 18:47:22 +0000
commitce1f01c3e6b55700baf46365aaef5a83fbae858e (patch)
tree60e30ce9a8238ae01c3e5c42e401dcb72fbbd1f3 /src/or/main.c
parentf3e9dceaa97ad361db708dcbb4f91771d0adf0dc (diff)
downloadtor-ce1f01c3e6b55700baf46365aaef5a83fbae858e.tar
tor-ce1f01c3e6b55700baf46365aaef5a83fbae858e.tar.gz
r14531@catbus: nickm | 2007-08-13 14:46:25 -0400
Cache v3 networkstatus consensuses on disk. svn:r11086
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 0086168a4..3719afe58 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1353,6 +1353,9 @@ do_main_loop(void)
if (router_reload_networkstatus()) {
return -1;
}
+ if (router_reload_consensus_networkstatus()) {
+ return -1;
+ }
directory_info_has_arrived(time(NULL),1);
if (authdir_mode_tests_reachability(get_options())) {