mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
One more missed chance to use get_scheduler_state_string
This commit is contained in:
parent
667f931177
commit
67793b615b
1 changed files with 3 additions and 2 deletions
|
@ -708,11 +708,12 @@ scheduler_bug_occurred(const channel_t *chan)
|
|||
const size_t outbuf_len =
|
||||
buf_datalen(TO_CONN(BASE_CHAN_TO_TLS((channel_t *) chan)->conn)->outbuf);
|
||||
tor_snprintf(buf, sizeof(buf),
|
||||
"Channel %" PRIu64 " in state %s and scheduler state %d."
|
||||
"Channel %" PRIu64 " in state %s and scheduler state %s."
|
||||
" Num cells on cmux: %d. Connection outbuf len: %lu.",
|
||||
chan->global_identifier,
|
||||
channel_state_to_string(chan->state),
|
||||
chan->scheduler_state, circuitmux_num_cells(chan->cmux),
|
||||
get_scheduler_state_string(chan->scheduler_state),
|
||||
circuitmux_num_cells(chan->cmux),
|
||||
(unsigned long)outbuf_len);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue