aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-03-06 01:43:37 +0000
committerRoger Dingledine <arma@torproject.org>2004-03-06 01:43:37 +0000
commit6c9d78b319dd883afd17d29829b3bdc017b07189 (patch)
tree7eb91a290f51f3f9ea99d0b5261db4bd74f9bf02 /src/or/connection.c
parent1e5b7bc6f1ad8c2d419f6e4a78b314ae3480033e (diff)
downloadtor-6c9d78b319dd883afd17d29829b3bdc017b07189.tar
tor-6c9d78b319dd883afd17d29829b3bdc017b07189.tar.gz
stop asserting that computers always go forward in time
it's simply not true svn:r1236
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index c05736e02..7dc177d4d 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -870,10 +870,12 @@ void 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 */
assert(!now || conn->timestamp_lastread <= now);
assert(!now || conn->timestamp_lastwritten <= now);
assert(conn->timestamp_created <= conn->timestamp_lastread);
assert(conn->timestamp_created <= conn->timestamp_lastwritten);
+#endif
/* XXX Fix this; no longer so.*/
#if 0