extra points if you make it compile. boy, i'm on a roll.

svn:r15077
This commit is contained in:
Roger Dingledine 2008-06-09 05:17:52 +00:00
parent 3b730c7556
commit eafb07ec96
2 changed files with 2 additions and 2 deletions

View File

@ -641,7 +641,7 @@ directory_info_has_arrived(time_t now, int from_cache)
or_options_t *options = get_options();
if (!router_have_minimum_dir_info()) {
quiet = directory_too_idle_to_fetch_descriptors(options, now);
int quiet = directory_too_idle_to_fetch_descriptors(options, now);
log(quiet ? LOG_INFO : LOG_NOTICE, LD_DIR,
"I learned some more directory information, but not enough to "
"build a circuit: %s", get_dir_info_status_string());

View File

@ -4235,7 +4235,7 @@ update_router_have_minimum_dir_info(void)
control_event_bootstrap(BOOTSTRAP_STATUS_CONN_OR, 0);
}
if (!res && have_min_dir_info) {
quiet = directory_too_idle_to_fetch_descriptors(options, now);
int quiet = directory_too_idle_to_fetch_descriptors(options, now);
log(quiet ? LOG_INFO : LOG_NOTICE, LD_DIR,
"Our directory information is no longer up-to-date "
"enough to build circuits: %s", dir_info_status);