]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Improve comment for routers_with_measured_bw static var in dirserv.c
authorAndrea Shepard <andrea@torproject.org>
Mon, 18 Mar 2013 19:04:41 +0000 (12:04 -0700)
committerAndrea Shepard <andrea@torproject.org>
Mon, 18 Mar 2013 19:04:41 +0000 (12:04 -0700)
src/or/dirserv.c

index cf11e50132742c4fbbcd1a3eb79ca3b9967d840a..5aed3fb6b13d4f587ea6c13a5bee894201294cbb 100644 (file)
@@ -66,7 +66,11 @@ static cached_dir_t *the_directory = NULL;
 /** For authoritative directories: the current (v1) network status. */
 static cached_dir_t the_runningrouters;
 
-/** Total number of routers with measured bandwidth */
+/** Total number of routers with measured bandwidth; this is set by
+ * dirserv_count_measured_bws() before the loop in
+ * dirserv_generate_networkstatus_vote_obj() and checked by
+ * dirserv_get_credible_bandwidth() and
+ * dirserv_compute_performance_thresholds() */
 static int routers_with_measured_bw = 0;
 
 static void directory_remove_invalid(void);