aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/main.c2
-rw-r--r--src/or/routerlist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index b9c8495cb..fa2708bbb 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -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());
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 71c8f1790..4f31e350f 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -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);