summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-12-24 23:51:22 +0000
committerRoger Dingledine <arma@torproject.org>2007-12-24 23:51:22 +0000
commit5925bc972ceeae2b9360098b42de9e49bb17babd (patch)
tree5ccb96b760349ced35b0f52eab132a0c10dec468
parent24d46eccb9e792dc3279cf772f8501573dacc9e8 (diff)
downloadtor-5925bc972ceeae2b9360098b42de9e49bb17babd.tar.gz
tor-5925bc972ceeae2b9360098b42de9e49bb17babd.zip
tweaks
svn:r12959
-rw-r--r--src/or/geoip.c2
-rw-r--r--src/or/main.c1
-rw-r--r--src/or/networkstatus.c2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c
index 0c82e97ea5..07928affc9 100644
--- a/src/or/geoip.c
+++ b/src/or/geoip.c
@@ -170,7 +170,7 @@ geoip_get_country_by_ip(uint32_t ipaddr)
return ent ? ent->country : -1;
}
-/** Return the number of countries recognized by the GEOIP database. */
+/** Return the number of countries recognized by the GeoIP database. */
int
geoip_get_n_countries(void)
{
diff --git a/src/or/main.c b/src/or/main.c
index 96f8e6fca4..f21ef01efb 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -976,7 +976,6 @@ run_scheduled_events(time_t now)
/** How often do we (as a cache) fetch a new V1 runningrouters document? */
#define V1_RUNNINGROUTERS_FETCH_PERIOD (12*60*60)
time_to_fetch_running_routers = now + V1_RUNNINGROUTERS_FETCH_PERIOD;
-
}
/* Remove old information from rephist and the rend cache. */
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 6c1a19a1b6..85728273d4 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1121,7 +1121,7 @@ int
should_delay_dir_fetches(or_options_t *options)
{
if (options->UseBridges && !any_bridge_descriptors_known()) {
- log_info(LD_DIR, "delaying dir fetches");
+ log_info(LD_DIR, "delaying dir fetches (no running bridges known)");
return 1;
}
return 0;