diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-02-01 08:13:35 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-02-01 08:15:09 -0500 |
commit | ca85d6621758269f7a94fbec22efa7f9d205c628 (patch) | |
tree | 8a6f410e046ee159d2f3fb26b5a4a281fe8e9f2a /src/or/scheduler.c | |
parent | d1c2597096cac27eb9ee842f52384ca4cb28a195 (diff) | |
parent | 61cb2993ddb39d72bb312c6904414151d71e0577 (diff) | |
download | tor-ca85d6621758269f7a94fbec22efa7f9d205c628.tar.gz tor-ca85d6621758269f7a94fbec22efa7f9d205c628.zip |
Merge branch 'maint-0.3.2'
Diffstat (limited to 'src/or/scheduler.c')
-rw-r--r-- | src/or/scheduler.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/or/scheduler.c b/src/or/scheduler.c index 058efc7bee..749df5a248 100644 --- a/src/or/scheduler.c +++ b/src/or/scheduler.c @@ -465,15 +465,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(); } } |