summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-06-15 18:34:46 +0000
committerNick Mathewson <nickm@torproject.org>2005-06-15 18:34:46 +0000
commitd4972bd2e1e2fe8fb9b9b747d60fc725d9c28dea (patch)
treebae2bf4932e5b397dcd291642f86141873947874 /src/or/connection.c
parente8331f9d7d051c301069b645e6dbe7eb4897fa88 (diff)
downloadtor-d4972bd2e1e2fe8fb9b9b747d60fc725d9c28dea.tar.gz
tor-d4972bd2e1e2fe8fb9b9b747d60fc725d9c28dea.zip
Remove code that has been #if-0ed for a long time.
svn:r4435
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 71c2f19767..71b9dfe106 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1792,13 +1792,6 @@ assert_connection_ok(connection_t *conn, time_t now)
assert_buf_ok(conn->outbuf);
}
-#if 0 /* computers often go back in time; no way to know */
- tor_assert(!now || conn->timestamp_lastread <= now);
- tor_assert(!now || conn->timestamp_lastwritten <= now);
- tor_assert(conn->timestamp_created <= conn->timestamp_lastread);
- tor_assert(conn->timestamp_created <= conn->timestamp_lastwritten);
-#endif
-
/* XXX Fix this; no longer so.*/
#if 0
if (conn->type != CONN_TYPE_OR && conn->type != CONN_TYPE_DIR)