[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] dirauth: Update disabled dirvote_add_vote()



commit f2987063261adea7396b660a11063f8bc1d1cbcc
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Tue Feb 18 13:21:49 2020 +1000

    dirauth: Update disabled dirvote_add_vote()
    
    Update the function that handles directory authority votes when the
    dirauth module is disabled.
    
    Part of 4631.
---
 src/feature/dirauth/dirvote.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/feature/dirauth/dirvote.h b/src/feature/dirauth/dirvote.h
index b5e34a9c2..f2dbee20e 100644
--- a/src/feature/dirauth/dirvote.h
+++ b/src/feature/dirauth/dirvote.h
@@ -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();



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits