mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 06:33:44 +01:00
What the hell was I on?
This commit is contained in:
parent
9740a07b8c
commit
5a24ff0563
@ -2263,7 +2263,8 @@ channel_flush_some_cells(channel_t *chan, ssize_t num_cells)
|
|||||||
|
|
||||||
/* Now process the queue if necessary */
|
/* Now process the queue if necessary */
|
||||||
|
|
||||||
if (q_len_after > q_len_before && num_cells < flushed) {
|
if ((q_len_after > q_len_before) &&
|
||||||
|
(unlimited || (flushed < num_cells))) {
|
||||||
flushed += channel_flush_some_cells_from_outgoing_queue(chan,
|
flushed += channel_flush_some_cells_from_outgoing_queue(chan,
|
||||||
(unlimited ? -1 : num_cells - flushed));
|
(unlimited ? -1 : num_cells - flushed));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user