diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-03-24 15:57:51 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-03-24 15:57:51 +0000 |
commit | 306d5400c367460936523f8417102f043a98fa78 (patch) | |
tree | 332d33d9a82fe3bf3bf8bb2be306b58c0a4bc5aa /src/or/hibernate.c | |
parent | 2cf63f8a62b668c2543b31519d4a8ed593a70cc7 (diff) | |
download | tor-306d5400c367460936523f8417102f043a98fa78.tar.gz tor-306d5400c367460936523f8417102f043a98fa78.zip |
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index 5ff2f5827b..8dd9997465 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), |