aboutsummaryrefslogtreecommitdiff
path: root/src/or/scheduler.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-02-01 08:10:34 -0500
committerNick Mathewson <nickm@torproject.org>2018-02-01 08:10:34 -0500
commit61cb2993ddb39d72bb312c6904414151d71e0577 (patch)
tree5651a599f8492f94040f310ed81c0b6473db0edc /src/or/scheduler.c
parent56857291b08b65be6bc6d89e4b98e84862b559a2 (diff)
parentfbc455cbd224aaf28c613ed92bbaee656291efec (diff)
downloadtor-61cb2993ddb39d72bb312c6904414151d71e0577.tar.gz
tor-61cb2993ddb39d72bb312c6904414151d71e0577.zip
Merge remote-tracking branch 'dgoulet/bug24975_032_01' into maint-0.3.2
Diffstat (limited to 'src/or/scheduler.c')
-rw-r--r--src/or/scheduler.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/or/scheduler.c b/src/or/scheduler.c
index cbf51447bf..b68e48da07 100644
--- a/src/or/scheduler.c
+++ b/src/or/scheduler.c
@@ -435,15 +435,14 @@ scheduler_conf_changed(void)
* Whenever we get a new consensus, this function is called.
*/
void
-scheduler_notify_networkstatus_changed(const networkstatus_t *old_c,
- const networkstatus_t *new_c)
+scheduler_notify_networkstatus_changed(void)
{
/* Maybe the consensus param made us change the scheduler. */
set_scheduler();
/* Then tell the (possibly new) scheduler that we have a new consensus */
if (the_scheduler->on_new_consensus) {
- the_scheduler->on_new_consensus(old_c, new_c);
+ the_scheduler->on_new_consensus();
}
}