diff options
author | David Goulet <dgoulet@torproject.org> | 2018-05-01 11:18:44 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-05-01 11:43:23 -0400 |
commit | e504b1b35831e9d18be7b89ab471705b41092606 (patch) | |
tree | acedbc4aa31c84266cfe4f6b98a8b85b95c977f1 /src/or/dirauth/dirvote.c | |
parent | 711ff6cdf79c32921f587d389b6ac25630a39d80 (diff) | |
download | tor-e504b1b35831e9d18be7b89ab471705b41092606.tar.gz tor-e504b1b35831e9d18be7b89ab471705b41092606.zip |
vote: Namespace functions in voting_schedule.c
Rename them from dirvote_* to voting_schedule_*.
No code behavior change.
Part of #25988
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/dirauth/dirvote.c')
-rw-r--r-- | src/or/dirauth/dirvote.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/dirauth/dirvote.c b/src/or/dirauth/dirvote.c index 1d81244137..b67b78cbb9 100644 --- a/src/or/dirauth/dirvote.c +++ b/src/or/dirauth/dirvote.c @@ -4441,8 +4441,9 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_t *private_key, else last_consensus_interval = options->TestingV3AuthInitialVotingInterval; v3_out->valid_after = - dirvote_get_start_of_next_interval(now, (int)last_consensus_interval, - options->TestingV3AuthVotingStartOffset); + voting_schedule_get_start_of_next_interval(now, + (int)last_consensus_interval, + options->TestingV3AuthVotingStartOffset); format_iso_time(tbuf, v3_out->valid_after); log_notice(LD_DIR,"Choosing valid-after time in vote as %s: " "consensus_set=%d, last_interval=%d", |