summaryrefslogtreecommitdiff
path: root/src/or/channel.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-02-01 16:39:04 -0500
committerDavid Goulet <dgoulet@torproject.org>2018-02-01 16:39:04 -0500
commite1a40535eaac0cd7306770660da798a0ee247549 (patch)
treebaf0f58eb0ad0d73addfc980ba182bc758aa7f85 /src/or/channel.c
parent5516d22a26648f2f3c05324a854cf573b4b5e39c (diff)
parentcb5654f300312a8f4c777378d68696667eff427b (diff)
downloadtor-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.c3
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;
}
/**