]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
enable assert_connection_ok()
authorRoger Dingledine <arma@torproject.org>
Sat, 28 Feb 2004 07:51:30 +0000 (07:51 +0000)
committerRoger Dingledine <arma@torproject.org>
Sat, 28 Feb 2004 07:51:30 +0000 (07:51 +0000)
we weren't actually asserting much. oops.

svn:r1160

src/or/connection.c

index 6728ae5e355e934887cd2180e6c885266e65ef29..8edfe8ed181dd1dec7d3e7eb8a3eca83800b4be1 100644 (file)
@@ -805,7 +805,6 @@ void assert_connection_ok(connection_t *conn, time_t now)
 {
   assert(conn);
   assert(conn->magic == CONNECTION_MAGIC);
-  return; /* XXX !!! */
   assert(conn->type >= _CONN_TYPE_MIN);
   assert(conn->type <= _CONN_TYPE_MAX);