summaryrefslogtreecommitdiff
path: root/src/or/scheduler_vanilla.c
diff options
context:
space:
mode:
authorMatt Traudt <sirmatt@ksu.edu>2017-09-21 13:15:51 -0400
committerMatt Traudt <sirmatt@ksu.edu>2017-09-22 08:51:22 -0400
commit22699e3f166f4c20ea0727cef9b20b936bb3ac7c (patch)
tree37e63e62966c2585f99dc93b0abdcf795f64af0a /src/or/scheduler_vanilla.c
parent00d7b60557883ac0c3ad4c27071d4efe1f7a3ffb (diff)
downloadtor-22699e3f166f4c20ea0727cef9b20b936bb3ac7c.tar.gz
tor-22699e3f166f4c20ea0727cef9b20b936bb3ac7c.zip
sched: only log when scheduler type changes
Closes 23552. Thanks dgoulet for original impl
Diffstat (limited to 'src/or/scheduler_vanilla.c')
-rw-r--r--src/or/scheduler_vanilla.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/scheduler_vanilla.c b/src/or/scheduler_vanilla.c
index a49f7a1cba..303b3dbba8 100644
--- a/src/or/scheduler_vanilla.c
+++ b/src/or/scheduler_vanilla.c
@@ -179,6 +179,7 @@ vanilla_scheduler_run(void)
/* Stores the vanilla scheduler function pointers. */
static scheduler_t vanilla_scheduler = {
+ .type = SCHEDULER_VANILLA,
.free_all = NULL,
.on_channel_free = NULL,
.init = NULL,