aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.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/connection.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/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 25c75ff101..87f0f91fd2 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -636,7 +636,7 @@ connection_free_(connection_t *conn)
rend_data_free(dir_conn->rend_data);
if (dir_conn->guard_state) {
/* Cancel before freeing, if it's still there. */
- entry_guard_cancel(get_guard_selection_info(), &dir_conn->guard_state);
+ entry_guard_cancel(&dir_conn->guard_state);
}
circuit_guard_state_free(dir_conn->guard_state);
}