summaryrefslogtreecommitdiff
path: root/src/or/channel.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2013-12-06 00:04:12 -0800
committerAndrea Shepard <andrea@torproject.org>2014-09-30 22:49:36 -0700
commit3530825c53b7a28cf894b64e6d97aa90d0acccae (patch)
tree445b3ed94bf88e17325b35605c26d66f22cc8279 /src/or/channel.c
parent283646fd9089a337003dcd7c020e0820c7270662 (diff)
downloadtor-3530825c53b7a28cf894b64e6d97aa90d0acccae.tar.gz
tor-3530825c53b7a28cf894b64e6d97aa90d0acccae.zip
Eliminate some unnecessary smartlists in scheduler.c
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 7ed38945ba..60e59c7937 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -806,6 +806,9 @@ channel_init(channel_t *chan)
/* It hasn't been open yet. */
chan->has_been_open = 0;
+
+ /* Scheduler state is idle */
+ chan->scheduler_state = SCHED_CHAN_IDLE;
}
/**