diff options
author | Roger Dingledine <arma@torproject.org> | 2006-10-01 21:42:44 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-10-01 21:42:44 +0000 |
commit | 3fcf736c83a42ceeb71c0581cc29255e5b0a6542 (patch) | |
tree | 77f860eae45b829b5bcace8f4ca5192f8d66b840 /src/or/connection.c | |
parent | 4200eb16f9c23be618a05edf92b7904498389373 (diff) | |
download | tor-3fcf736c83a42ceeb71c0581cc29255e5b0a6542.tar.gz tor-3fcf736c83a42ceeb71c0581cc29255e5b0a6542.zip |
misc touchups
svn:r8568
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 0b87d6bc66..9c64e324f4 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -2223,6 +2223,11 @@ assert_connection_ok(connection_t *conn, time_t now) */ #endif + if (conn->chosen_exit_optional) { + tor_assert(conn->type == CONN_TYPE_AP); + tor_assert((TO_EDGE_CONN(conn))->chosen_exit_name); + } + if (conn->type == CONN_TYPE_OR) { or_connection_t *or_conn = TO_OR_CONN(conn); if (conn->state == OR_CONN_STATE_OPEN) { |