mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +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 */
|
||||
|
||||
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,
|
||||
(unlimited ? -1 : num_cells - flushed));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user