[tor-commits] [tor/master] Whitespace fixes from previous mechanical search-and-replaces

nickm at torproject.org nickm at torproject.org
Fri Dec 16 16:26:17 UTC 2016


commit 043e9b01516c7cdcff939f2724b75155458da1b1
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Nov 14 13:01:19 2016 -0500

    Whitespace fixes from previous mechanical search-and-replaces
---
 src/or/circpathbias.c | 2 +-
 src/or/entrynodes.c   | 9 ++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/or/circpathbias.c b/src/or/circpathbias.c
index 3df68b8..be11465 100644
--- a/src/or/circpathbias.c
+++ b/src/or/circpathbias.c
@@ -1355,7 +1355,7 @@ pathbias_measure_close_rate(entry_guard_t *guard)
 {
   const or_options_t *options = get_options();
   guard_pathbias_t *pb = entry_guard_get_pathbias_state(guard);
-  
+
   if (pb->circ_attempts > pathbias_get_min_circs(options)) {
     /* Note: We rely on the < comparison here to allow us to set a 0
      * rate and disable the feature entirely. If refactoring, don't
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index 90918fa..7890f83 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -1583,7 +1583,8 @@ entry_guards_parse_state_for_guard_selection(
         node->pb.path_bias_disabled = 1;
         log_info(LD_GENERAL,
                  "Path use bias is too high (%f/%f); disabling node %s",
-                 node->pb.circ_successes, node->pb.circ_attempts, node->nickname);
+                 node->pb.circ_successes, node->pb.circ_attempts,
+                 node->nickname);
       }
     } else if (!strcasecmp(line->key, "EntryGuardPathBias")) {
       const or_options_t *options = get_options();
@@ -1642,7 +1643,8 @@ entry_guards_parse_state_for_guard_selection(
       node->pb.unusable_circuits = unusable;
 
       log_info(LD_GENERAL, "Read %f/%f path bias for node %s",
-               node->pb.circ_successes, node->pb.circ_attempts, node->nickname);
+               node->pb.circ_successes, node->pb.circ_attempts,
+               node->nickname);
       /* Note: We rely on the < comparison here to allow us to set a 0
        * rate and disable the feature entirely. If refactoring, don't
        * change to <= */
@@ -1652,7 +1654,8 @@ entry_guards_parse_state_for_guard_selection(
         node->pb.path_bias_disabled = 1;
         log_info(LD_GENERAL,
                  "Path bias is too high (%f/%f); disabling node %s",
-                 node->pb.circ_successes, node->pb.circ_attempts, node->nickname);
+                 node->pb.circ_successes, node->pb.circ_attempts,
+                 node->nickname);
       }
 
     } else {





More information about the tor-commits mailing list