diff options
author | Roger Dingledine <arma@torproject.org> | 2004-03-06 01:43:37 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-03-06 01:43:37 +0000 |
commit | 6c9d78b319dd883afd17d29829b3bdc017b07189 (patch) | |
tree | 7eb91a290f51f3f9ea99d0b5261db4bd74f9bf02 /src/or/connection.c | |
parent | 1e5b7bc6f1ad8c2d419f6e4a78b314ae3480033e (diff) | |
download | tor-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.c | 2 |
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 |