diff options
author | David Goulet <dgoulet@torproject.org> | 2018-02-01 16:39:04 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-02-01 16:39:04 -0500 |
commit | e1a40535eaac0cd7306770660da798a0ee247549 (patch) | |
tree | baf0f58eb0ad0d73addfc980ba182bc758aa7f85 /src/or/channel.c | |
parent | 5516d22a26648f2f3c05324a854cf573b4b5e39c (diff) | |
parent | cb5654f300312a8f4c777378d68696667eff427b (diff) | |
download | tor-e1a40535eaac0cd7306770660da798a0ee247549.tar.gz tor-e1a40535eaac0cd7306770660da798a0ee247549.zip |
Merge branch 'bug24700_032_01' into bug24700_033_01
Diffstat (limited to 'src/or/channel.c')
-rw-r--r-- | src/or/channel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/channel.c b/src/or/channel.c index 094bf93e66..1afd451908 100644 --- a/src/or/channel.c +++ b/src/or/channel.c @@ -854,6 +854,9 @@ channel_init(channel_t *chan) /* Scheduler state is idle */ chan->scheduler_state = SCHED_CHAN_IDLE; + + /* Channel is not in the scheduler heap. */ + chan->sched_heap_idx = -1; } /** |