aboutsummaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-03-24 15:57:51 +0000
committerNick Mathewson <nickm@torproject.org>2007-03-24 15:57:51 +0000
commit306d5400c367460936523f8417102f043a98fa78 (patch)
tree332d33d9a82fe3bf3bf8bb2be306b58c0a4bc5aa /src/or/hibernate.c
parent2cf63f8a62b668c2543b31519d4a8ed593a70cc7 (diff)
downloadtor-306d5400c367460936523f8417102f043a98fa78.tar
tor-306d5400c367460936523f8417102f043a98fa78.tar.gz
r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r--src/or/hibernate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c
index 5ff2f5827..8dd999746 100644
--- a/src/or/hibernate.c
+++ b/src/or/hibernate.c
@@ -849,8 +849,7 @@ hibernate_go_dormant(time_t now)
(conn = connection_get_by_type(CONN_TYPE_AP)) ||
(conn = connection_get_by_type(CONN_TYPE_EXIT))) {
if (CONN_IS_EDGE(conn))
- connection_edge_end(TO_EDGE_CONN(conn), END_STREAM_REASON_HIBERNATING,
- TO_EDGE_CONN(conn)->cpath_layer);
+ connection_edge_end(TO_EDGE_CONN(conn), END_STREAM_REASON_HIBERNATING);
log_info(LD_NET,"Closing conn type %d", conn->type);
if (conn->type == CONN_TYPE_AP) /* send socks failure if needed */
connection_mark_unattached_ap(TO_EDGE_CONN(conn),