diff options
author | Andrea Shepard <andrea@torproject.org> | 2013-12-06 00:04:12 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-09-30 22:49:36 -0700 |
commit | 3530825c53b7a28cf894b64e6d97aa90d0acccae (patch) | |
tree | 445b3ed94bf88e17325b35605c26d66f22cc8279 /src/or/channel.c | |
parent | 283646fd9089a337003dcd7c020e0820c7270662 (diff) | |
download | tor-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.c | 3 |
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; } /** |