summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-06-06 04:51:25 +0000
committerNick Mathewson <nickm@torproject.org>2007-06-06 04:51:25 +0000
commit1866ad3506a797ae7d5f06951818cf9e8b0c3822 (patch)
treea528aaa3e3f7a7354cf34b9afff33f781ad73ca1 /src/or/connection.c
parentbafff6362c52afb103d51927b624042d5d0d48f4 (diff)
downloadtor-1866ad3506a797ae7d5f06951818cf9e8b0c3822.tar.gz
tor-1866ad3506a797ae7d5f06951818cf9e8b0c3822.zip
r13274@catbus: nickm | 2007-06-05 19:06:30 -0400
Remove some deadcode that seems unlikely to return svn:r10509
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 588510a350..efd4c4a8a8 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -2764,15 +2764,6 @@ assert_connection_ok(connection_t *conn, time_t now)
assert_buf_ok(conn->outbuf);
}
- /* XXXX Fix this; no longer so.*/
-#if 0
- if (conn->type != CONN_TYPE_OR && conn->type != CONN_TYPE_DIR)
- tor_assert(!conn->pkey);
- /* pkey is set if we're a dir client, or if we're an OR in state OPEN
- * connected to another OR.
- */
-#endif
-
if (conn->chosen_exit_optional) {
tor_assert(conn->type == CONN_TYPE_AP);
tor_assert((TO_EDGE_CONN(conn))->chosen_exit_name);