diff options
author | David Goulet <dgoulet@torproject.org> | 2024-04-15 15:11:30 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2024-04-15 15:11:30 -0400 |
commit | a93759b46e8f883182ac368bd55df5152695c2e5 (patch) | |
tree | 2c1722425080881ed4c0a7b8e8999c952dcdd8e6 /src/feature | |
parent | 0bd1df58d0d6671bb0e386bcae2dd802b6eb7ef6 (diff) | |
parent | 29e3601c4249094e010c49e55e8bcd5769b4eb57 (diff) | |
download | tor-a93759b46e8f883182ac368bd55df5152695c2e5.tar.gz tor-a93759b46e8f883182ac368bd55df5152695c2e5.zip |
Merge branch 'maint-0.4.8'
Diffstat (limited to 'src/feature')
-rw-r--r-- | src/feature/relay/circuitbuild_relay.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/feature/relay/circuitbuild_relay.c b/src/feature/relay/circuitbuild_relay.c index 5b1609a1af..ce6cbe6df4 100644 --- a/src/feature/relay/circuitbuild_relay.c +++ b/src/feature/relay/circuitbuild_relay.c @@ -579,8 +579,10 @@ onionskin_answer(struct or_circuit_t *circ, int used_create_fast = (created_cell->cell_type == CELL_CREATED_FAST); - append_cell_to_circuit_queue(TO_CIRCUIT(circ), - circ->p_chan, &cell, CELL_DIRECTION_IN, 0); + if (append_cell_to_circuit_queue(TO_CIRCUIT(circ), circ->p_chan, + &cell, CELL_DIRECTION_IN, 0) < 0) { + return -1; + } log_debug(LD_CIRC,"Finished sending '%s' cell.", used_create_fast ? "created_fast" : "created"); |