summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-09-19 16:26:27 -0400
committerNick Mathewson <nickm@torproject.org>2016-12-08 16:47:57 -0500
commit6aa239df363a9739df96cc4c4660b7aee8a7bef9 (patch)
tree9a1d8d7eb605aa077c9d7de1f5d57d3ad8cb1cdf /src/or/connection.c
parentcdce221e68489cddad579da0ce804ce2eb5804b3 (diff)
downloadtor-6aa239df363a9739df96cc4c4660b7aee8a7bef9.tar.gz
tor-6aa239df363a9739df96cc4c4660b7aee8a7bef9.zip
Rename connection_or_remove_from_identity_map
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 2e3df34a5a..f80602155b 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -644,7 +644,7 @@ connection_free_(connection_t *conn)
if (conn->type == CONN_TYPE_OR &&
!tor_digest_is_zero(TO_OR_CONN(conn)->identity_digest)) {
log_warn(LD_BUG, "called on OR conn with non-zeroed identity_digest");
- connection_or_remove_from_identity_map(TO_OR_CONN(conn));
+ connection_or_clear_identity(TO_OR_CONN(conn));
}
if (conn->type == CONN_TYPE_OR || conn->type == CONN_TYPE_EXT_OR) {
connection_or_remove_from_ext_or_id_map(TO_OR_CONN(conn));
@@ -675,7 +675,7 @@ connection_free,(connection_t *conn))
}
if (connection_speaks_cells(conn)) {
if (!tor_digest_is_zero(TO_OR_CONN(conn)->identity_digest)) {
- connection_or_remove_from_identity_map(TO_OR_CONN(conn));
+ connection_or_clear_identity(TO_OR_CONN(conn));
}
}
if (conn->type == CONN_TYPE_CONTROL) {