mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
dirauth: Update disabled dirvote_add_vote()
Update the function that handles directory authority votes when the dirauth module is disabled. Part of 4631.
This commit is contained in:
parent
e540a4147f
commit
f298706326
1 changed files with 5 additions and 1 deletions
|
@ -143,9 +143,13 @@ dirvote_dirreq_get_status_vote(const char *url, smartlist_t *items,
|
|||
}
|
||||
|
||||
static inline struct pending_vote_t *
|
||||
dirvote_add_vote(const char *vote_body, const char **msg_out, int *status_out)
|
||||
dirvote_add_vote(const char *vote_body,
|
||||
time_t time_posted,
|
||||
const char **msg_out,
|
||||
int *status_out)
|
||||
{
|
||||
(void) vote_body;
|
||||
(void) time_posted;
|
||||
/* If the dirauth module is disabled, this should NEVER be called else we
|
||||
* failed to safeguard the dirauth module. */
|
||||
tor_assert_nonfatal_unreached();
|
||||
|
|
Loading…
Add table
Reference in a new issue