Explorar el Código

enable assert_connection_ok()
we weren't actually asserting much. oops.


svn:r1160

Roger Dingledine hace 22 años
padre
commit
cec2eee533
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/or/connection.c

+ 0 - 1
src/or/connection.c

@@ -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);