diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-08-31 18:46:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-08-31 18:46:46 +0000 |
commit | 21a78803584c468f4c0b949d35444695266ff35f (patch) | |
tree | 9d0877e3b4c107233703edb5c3859e16d47594df | |
parent | f170e5798fd7634a1be2c748464acb2ca485c9a3 (diff) | |
download | tor-21a78803584c468f4c0b949d35444695266ff35f.tar tor-21a78803584c468f4c0b949d35444695266ff35f.tar.gz |
r8695@Kushana: nickm | 2006-08-31 14:35:36 -0400
Fix two corner cases in router_dir_info_changed(). This should have no observable effect.
svn:r8311
-rw-r--r-- | src/or/routerlist.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index f41a8019d..d70a0e951 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -591,6 +591,7 @@ mark_all_trusteddirservers_up(void) }); } last_networkstatus_download_attempted = 0; + router_dir_info_changed(); } /** Reset all internal variables used to count failed downloads of network @@ -1270,6 +1271,8 @@ routerlist_free(routerlist_t *rl) if (routerlist->mmap_descriptors) tor_munmap_file(routerlist->mmap_descriptors); tor_free(rl); + + router_dir_info_changed(); } void @@ -3771,7 +3774,7 @@ router_have_minimum_dir_info(void) /** DOCDOC * Must change when authorities change, networkstatuses change, or list of - * routerdescs changes. + * routerdescs changes, or number of running routers changes. */ static void router_dir_info_changed(void) |