[or-cvs] r12959: tweaks (tor/trunk/src/or)

arma at seul.org arma at seul.org
Mon Dec 24 23:51:22 UTC 2007


Author: arma
Date: 2007-12-24 18:51:22 -0500 (Mon, 24 Dec 2007)
New Revision: 12959

Modified:
   tor/trunk/src/or/geoip.c
   tor/trunk/src/or/main.c
   tor/trunk/src/or/networkstatus.c
Log:
tweaks


Modified: tor/trunk/src/or/geoip.c
===================================================================
--- tor/trunk/src/or/geoip.c	2007-12-24 22:05:05 UTC (rev 12958)
+++ tor/trunk/src/or/geoip.c	2007-12-24 23:51:22 UTC (rev 12959)
@@ -170,7 +170,7 @@
   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)
 {

Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c	2007-12-24 22:05:05 UTC (rev 12958)
+++ tor/trunk/src/or/main.c	2007-12-24 23:51:22 UTC (rev 12959)
@@ -976,7 +976,6 @@
 /** 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. */

Modified: tor/trunk/src/or/networkstatus.c
===================================================================
--- tor/trunk/src/or/networkstatus.c	2007-12-24 22:05:05 UTC (rev 12958)
+++ tor/trunk/src/or/networkstatus.c	2007-12-24 23:51:22 UTC (rev 12959)
@@ -1121,7 +1121,7 @@
 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;



More information about the tor-commits mailing list