summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-29 22:59:17 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-29 22:59:17 +0000
commit5c53545d8158cd486d3ccef096f895afd485dd62 (patch)
treea1d83ddbcafe741af52750b9941af42e1ac01108 /src/or/connection.c
parentc6347cdb0ebb9ad0e374f345fbe085265caf0b15 (diff)
downloadtor-5c53545d8158cd486d3ccef096f895afd485dd62.tar.gz
tor-5c53545d8158cd486d3ccef096f895afd485dd62.zip
Add a bunch more warnings to out warning suite; resolve them; pack structs a little better.
svn:r5150
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 e4d913965b..d94fb0feb7 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -2000,8 +2000,10 @@ assert_connection_ok(connection_t *conn, time_t now)
tor_assert(!conn->cpath_layer);
tor_assert(!conn->package_window);
tor_assert(!conn->deliver_window);
+#if 0
tor_assert(!conn->done_sending);
tor_assert(!conn->done_receiving);
+#endif
} else {
/* XXX unchecked: package window, deliver window. */
}