Fix spaces.

This commit is contained in:
Mike Perry 2012-10-25 14:14:28 -07:00
parent a54873648f
commit 192996690c
2 changed files with 5 additions and 8 deletions

View file

@ -1137,7 +1137,6 @@ pathbias_should_count(origin_circuit_t *circ)
return 1;
}
/**
* Check our circuit state to see if this is a successful first hop.
* If so, record it in the current guard's path bias first_hop count.
@ -1407,7 +1406,6 @@ entry_guard_inc_first_hop_count(entry_guard_t *guard)
guard->circuit_successes, guard->first_hops, guard->timeouts,
(long)circ_times.close_ms/1000);
}
}
/* If we get a ton of circuits, just scale everything down */

View file

@ -31,8 +31,8 @@ typedef struct entry_guard_t {
* router, 1 if we have. */
unsigned int can_retry : 1; /**< Should we retry connecting to this entry,
* in spite of having it marked as unreachable?*/
unsigned int path_bias_noticed : 1; /**< Did we alert the user about path bias
* for this node already? */
unsigned int path_bias_noticed : 1; /**< Did we alert the user about path
* bias for this node already? */
unsigned int path_bias_warned : 1; /**< Did we alert the user about path bias
* for this node already? */
unsigned int path_bias_crited : 1; /**< Did we alert the user about path bias
@ -51,8 +51,7 @@ typedef struct entry_guard_t {
unsigned first_hops; /**< Number of first hops this guard has completed */
unsigned circuit_successes; /**< Number of successfully built circuits using
* this guard as first hop. */
unsigned timeouts; /**< Number of 'right-censored' timeouts
for this guard. */
unsigned timeouts; /**< Number of 'right-censored' timeouts for this guard.*/
} entry_guard_t;
entry_guard_t *entry_guard_get_by_id_digest(const char *digest);