summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-28 11:04:28 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-16 11:06:18 -0500
commit89f5f149df984bab00de9868a9305b611c4aa17e (patch)
tree41d0e28d4d96659eddf1f8e44b9580d24d9fc94c /src/or/circuituse.c
parent6dcbc24a4e9da3d46dc9fa1c225982f7088a6e34 (diff)
downloadtor-89f5f149df984bab00de9868a9305b611c4aa17e.tar.gz
tor-89f5f149df984bab00de9868a9305b611c4aa17e.zip
Remove guard_selection argument from status-reporting functions
This prevents us from mixing up multiple guard_selections
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index b925729e01..698b158457 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -1653,7 +1653,7 @@ circuit_build_failed(origin_circuit_t *circ)
}
if (n_chan_id && !already_marked) {
if (circ->guard_state)
- entry_guard_failed(get_guard_selection_info(), &circ->guard_state);
+ entry_guard_failed(&circ->guard_state);
/* XXXX prop271 -- old API */
entry_guard_register_connect_status(n_chan_id, 0, 1, time(NULL));
/* if there are any one-hop streams waiting on this circuit, fail