aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-06-09 05:17:52 +0000
committerRoger Dingledine <arma@torproject.org>2008-06-09 05:17:52 +0000
commiteafb07ec96f7b844dd002d6aa60f42f469f5b3be (patch)
treee7cb43b9bc3bb9320b313becbb7110c0dd00d9c7
parent3b730c7556d0782378f41318f61c521a15b7e5a4 (diff)
downloadtor-eafb07ec96f7b844dd002d6aa60f42f469f5b3be.tar
tor-eafb07ec96f7b844dd002d6aa60f42f469f5b3be.tar.gz
extra points if you make it compile. boy, i'm on a roll.
svn:r15077
-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);