]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
entrynodes: Remove "split these functions" XXXXs
authorNick Mathewson <nickm@torproject.org>
Mon, 30 Jan 2017 15:49:40 +0000 (10:49 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 30 Jan 2017 15:49:40 +0000 (10:49 -0500)
They now have a ticket: #21349.

src/or/entrynodes.c

index 587dec64932a59b92972586f219310191c6f10d8..c5fb92e35a434a489814e4b6556e842510ed877d 100644 (file)
@@ -1157,7 +1157,6 @@ entry_guard_is_listed,(guard_selection_t *gs, const entry_guard_t *guard))
 STATIC void
 sampled_guards_update_from_consensus(guard_selection_t *gs)
 {
-  /*XXXX prop271 consider splitting this function up. */
   tor_assert(gs);
   const int REMOVE_UNLISTED_GUARDS_AFTER =
     (get_remove_unlisted_guards_after_days() * 86400);
@@ -1581,7 +1580,6 @@ make_guard_confirmed(guard_selection_t *gs, entry_guard_t *guard)
 STATIC void
 entry_guards_update_primary(guard_selection_t *gs)
 {
-  /*XXXX prop271 consider splitting this function up. */
   tor_assert(gs);
 
   // prevent recursion. Recursion is potentially very bad here.
@@ -1779,7 +1777,6 @@ select_entry_guard_for_circuit(guard_selection_t *gs,
                                const entry_guard_restriction_t *rst,
                                unsigned *state_out)
 {
-  /*XXXX prop271 consider splitting this function up. */
   tor_assert(gs);
   tor_assert(state_out);