Browse Source

Whitespace fixes from previous mechanical search-and-replaces

Nick Mathewson 7 years ago
parent
commit
043e9b0151
2 changed files with 7 additions and 4 deletions
  1. 1 1
      src/or/circpathbias.c
  2. 6 3
      src/or/entrynodes.c

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

+ 6 - 3
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 {