소스 검색

tweaks

svn:r12959
Roger Dingledine 16 년 전
부모
커밋
5925bc972c
3개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/or/geoip.c
  2. 0 1
      src/or/main.c
  3. 1 1
      src/or/networkstatus.c

+ 1 - 1
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)
 {

+ 0 - 1
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. */

+ 1 - 1
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;