diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-03-22 14:25:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-18 11:23:45 -0400 |
commit | 1047e7dcb05cbf4c98276d00c157cf0506b451d5 (patch) | |
tree | caa1da14b4e00506d682c2f9a156f8325c76bace /src/or/circuitlist.c | |
parent | 27ec1fafe4a739429ac82d47015465bb5a2d9674 (diff) | |
download | tor-1047e7dcb05cbf4c98276d00c157cf0506b451d5.tar.gz tor-1047e7dcb05cbf4c98276d00c157cf0506b451d5.zip |
Use TOR_SIMPLEQ for packed_cell_t
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r-- | src/or/circuitlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index 5e51301ceb..2a85b7d895 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -682,6 +682,7 @@ init_circuit_base(circuit_t *circ) circ->package_window = circuit_initial_package_window(); circ->deliver_window = CIRCWINDOW_START; + cell_queue_init(&circ->n_chan_cells); circuit_add(circ); } @@ -727,6 +728,7 @@ or_circuit_new(circid_t p_circ_id, channel_t *p_chan) circuit_set_p_circid_chan(circ, p_circ_id, p_chan); circ->remaining_relay_early_cells = MAX_RELAY_EARLY_CELLS_PER_CIRCUIT; + cell_queue_init(&circ->p_chan_cells); init_circuit_base(TO_CIRCUIT(circ)); |