mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
r12326@catbus: nickm | 2007-04-09 17:36:41 -0400
Clean up crap from 9930. I can hardly wait till I trust SVK 2.x enough to upgrade. svn:r9933
This commit is contained in:
parent
2dc6019edb
commit
2a07919198
@ -157,12 +157,9 @@ void
|
||||
circuit_set_p_circid_orconn(or_circuit_t *circ, uint16_t id,
|
||||
or_connection_t *conn)
|
||||
{
|
||||
int active;
|
||||
int active;
|
||||
int active = circ->p_conn_cells.n > 0;
|
||||
|
||||
active = circ->p_conn_cells.n > 0;
|
||||
tor_assert(bool_eq(active, circ->next_active_on_p_conn));
|
||||
active = circ->p_conn_cells.n > 0;
|
||||
|
||||
circuit_set_circid_orconn_helper(TO_CIRCUIT(circ), CELL_DIRECTION_IN,
|
||||
id, conn, active);
|
||||
@ -178,12 +175,9 @@ void
|
||||
circuit_set_n_circid_orconn(circuit_t *circ, uint16_t id,
|
||||
or_connection_t *conn)
|
||||
{
|
||||
int active;
|
||||
int active;
|
||||
int active = circ->n_conn_cells.n > 0;
|
||||
|
||||
active = circ->n_conn_cells.n > 0;
|
||||
tor_assert(bool_eq(active, circ->next_active_on_n_conn));
|
||||
active = circ->n_conn_cells.n > 0;
|
||||
|
||||
circuit_set_circid_orconn_helper(circ, CELL_DIRECTION_OUT,
|
||||
id, conn, active);
|
||||
|
@ -792,7 +792,6 @@ int
|
||||
connection_or_send_destroy(uint16_t circ_id, or_connection_t *conn, int reason)
|
||||
{
|
||||
cell_t cell;
|
||||
circuit_t *circ;
|
||||
|
||||
tor_assert(conn);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user