diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-03-10 14:08:38 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-03-10 14:08:38 -0400 |
commit | b8ceb464e5949b07ba9bd007002a49f3ab9c600b (patch) | |
tree | bda3db474b49de8a9c091bdd8cbac786a6eb5e67 /src/or/nodelist.c | |
parent | 0c04416c11d79e8dc5fc9def6ea337f75526e397 (diff) | |
parent | 6606e676eeafd8ff848dfb247e2b675eed190698 (diff) | |
download | tor-b8ceb464e5949b07ba9bd007002a49f3ab9c600b.tar.gz tor-b8ceb464e5949b07ba9bd007002a49f3ab9c600b.zip |
Merge branch 'bug11156_squashed'
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r-- | src/or/nodelist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c index 737de92eee..3704822c72 100644 --- a/src/or/nodelist.c +++ b/src/or/nodelist.c @@ -1477,6 +1477,7 @@ update_router_have_minimum_dir_info(void) const networkstatus_t *consensus = networkstatus_get_reasonably_live_consensus(now,usable_consensus_flavor()); int using_md; + const char *delay_fetches_msg = NULL; if (!consensus) { if (!networkstatus_get_latest_consensus()) @@ -1489,10 +1490,9 @@ update_router_have_minimum_dir_info(void) goto done; } - if (should_delay_dir_fetches(get_options())) { - log_notice(LD_DIR, "no known bridge descriptors running yet; stalling"); - strlcpy(dir_info_status, "No live bridge descriptors.", - sizeof(dir_info_status)); + if (should_delay_dir_fetches(get_options(), &delay_fetches_msg)) { + log_notice(LD_DIR, "Delaying dir fetches: %s", delay_fetches_msg); + strlcpy(dir_info_status, "%s", sizeof(dir_info_status)); res = 0; goto done; } |