aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitlist.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/circuitlist.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/circuitlist.c')
-rw-r--r--src/or/circuitlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 0afe2f8059..b25f817d91 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -898,7 +898,7 @@ circuit_free(circuit_t *circ)
/* Cancel before freeing, if we haven't already succeeded or failed. */
if (ocirc->guard_state) {
- entry_guard_cancel(get_guard_selection_info(), &ocirc->guard_state);
+ entry_guard_cancel(&ocirc->guard_state);
}
circuit_guard_state_free(ocirc->guard_state);