summaryrefslogtreecommitdiff
path: root/src/or/scheduler.c
diff options
context:
space:
mode:
authorMatt Traudt <sirmatt@ksu.edu>2017-12-11 09:33:07 -0500
committerMatt Traudt <sirmatt@ksu.edu>2017-12-11 09:43:09 -0500
commit67793b615b581b23ff8b49ab560801b59039695a (patch)
tree3923b09f4718bceb470bda1593b19d349ceda086 /src/or/scheduler.c
parent667f9311776af65f7546a70c8ad5c27e0d23a02b (diff)
downloadtor-67793b615b581b23ff8b49ab560801b59039695a.tar.gz
tor-67793b615b581b23ff8b49ab560801b59039695a.zip
One more missed chance to use get_scheduler_state_string
Diffstat (limited to 'src/or/scheduler.c')
-rw-r--r--src/or/scheduler.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/scheduler.c b/src/or/scheduler.c
index 09e8894a41..c42c567f9c 100644
--- a/src/or/scheduler.c
+++ b/src/or/scheduler.c
@@ -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);
}