aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-11 12:44:18 -0500
committerNick Mathewson <nickm@torproject.org>2012-12-25 23:14:43 -0500
commit0c4210fb65d1fe45cbd39ea078be1b09c0f52fc9 (patch)
tree92b6ea6308a219644684456e23626d0a4bdd66f1 /src/or/circuituse.c
parent1df7289000de7ffd8676ea0f3c276ea54e8cad3c (diff)
downloadtor-0c4210fb65d1fe45cbd39ea078be1b09c0f52fc9.tar.gz
tor-0c4210fb65d1fe45cbd39ea078be1b09c0f52fc9.zip
Directory guard implementation.
Implements proposal 207; ticket 6526.
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index e14f9d03ca..298f31a8dc 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -467,7 +467,7 @@ circuit_expire_building(void)
"No circuits are opened. Relaxing timeout for "
"a circuit with channel state %s. %d guards are live.",
channel_state_to_string(victim->n_chan->state),
- num_live_entry_guards());
+ num_live_entry_guards(0));
/* We count the timeout here for CBT, because technically this
* was a timeout, and the timeout value needs to reset if we
@@ -484,7 +484,7 @@ circuit_expire_building(void)
"However, it appears the circuit has timed out anyway. "
"%d guards are live. ",
channel_state_to_string(victim->n_chan->state),
- (long)circ_times.close_ms, num_live_entry_guards());
+ (long)circ_times.close_ms, num_live_entry_guards(0));
}
}