aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirvote.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2021-01-21 14:58:31 -0500
committerDavid Goulet <dgoulet@torproject.org>2021-01-21 14:58:31 -0500
commitc54f4b81da5635b282fc45c6301c490663113434 (patch)
treeb166f137cc85ca852ac406edddc745c7000895e9 /src/feature/dirauth/dirvote.h
parent08c0ef61d8aa9490f78c3a77c1fbb86de09b1872 (diff)
parent633b68bfe2cfaab41dc473923acc794e789a4c16 (diff)
downloadtor-c54f4b81da5635b282fc45c6301c490663113434.tar.gz
tor-c54f4b81da5635b282fc45c6301c490663113434.zip
Merge branch 'tor-gitlab/mr/270' into maint-0.4.5
Diffstat (limited to 'src/feature/dirauth/dirvote.h')
-rw-r--r--src/feature/dirauth/dirvote.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/feature/dirauth/dirvote.h b/src/feature/dirauth/dirvote.h
index 4f48e45dc3..f9441773a7 100644
--- a/src/feature/dirauth/dirvote.h
+++ b/src/feature/dirauth/dirvote.h
@@ -99,6 +99,7 @@ void dirvote_dirreq_get_status_vote(const char *url, smartlist_t *items,
/* Storing signatures and votes functions */
struct pending_vote_t * dirvote_add_vote(const char *vote_body,
time_t time_posted,
+ const char *where_from,
const char **msg_out,
int *status_out);
int dirvote_add_signatures(const char *detached_signatures_body,
@@ -149,11 +150,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,
time_t time_posted,
+ const char *where_from,
const char **msg_out,
int *status_out)
{
(void) vote_body;
(void) time_posted;
+ (void) where_from;
/* If the dirauth module is disabled, this should NEVER be called else we
* failed to safeguard the dirauth module. */
tor_assert_nonfatal_unreached();