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
This commit is contained in:
Nick Mathewson 2006-08-31 18:46:46 +00:00
parent f170e5798f
commit 21a7880358

View File

@ -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)