diff options
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/dirvote.c | 2 | ||||
-rw-r--r-- | src/or/protover.c | 2 | ||||
-rw-r--r-- | src/or/protover.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index f606b07f7a..c65243cf09 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -1256,7 +1256,7 @@ compute_nth_protocol_set(int n, int n_voters, const smartlist_t *votes) smartlist_add(proto_votes, (void*)v); } SMARTLIST_FOREACH_END(ns); - char *protocols = compute_protover_vote(proto_votes, threshold); + char *protocols = protover_compute_vote(proto_votes, threshold); smartlist_free(proto_votes); char *result = NULL; diff --git a/src/or/protover.c b/src/or/protover.c index d29cdba099..434d3f36be 100644 --- a/src/or/protover.c +++ b/src/or/protover.c @@ -520,7 +520,7 @@ contract_protocol_list(const smartlist_t *proto_strings) * contract_protocol_list above. */ char * -compute_protover_vote(const smartlist_t *list_of_proto_strings, +protover_compute_vote(const smartlist_t *list_of_proto_strings, int threshold) { smartlist_t *all_entries = smartlist_new(); diff --git a/src/or/protover.h b/src/or/protover.h index 520db37de2..654127ee54 100644 --- a/src/or/protover.h +++ b/src/or/protover.h @@ -27,7 +27,7 @@ int protover_all_supported(const char *s, char **missing); int protover_is_supported_here(protocol_type_t pr, uint32_t ver); const char *get_supported_protocols(void); -char *compute_protover_vote(const smartlist_t *list_of_proto_strings, +char *protover_compute_vote(const smartlist_t *list_of_proto_strings, int threshold); const char *protover_compute_for_old_tor(const char *version); int protocol_list_supports_protocol(const char *list, protocol_type_t tp, |