mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Whitespace fixes.
This commit is contained in:
parent
116c8409ba
commit
0770e4ccdb
@ -1697,7 +1697,6 @@ tor_addr_hostname_is_local(const char *name)
|
||||
!strcasecmpend(name, ".local");
|
||||
}
|
||||
|
||||
|
||||
/** Return a newly allocated tor_addr_port_t with <b>addr</b> and
|
||||
<b>port</b> filled in. */
|
||||
tor_addr_port_t *
|
||||
@ -1709,3 +1708,4 @@ tor_addr_port_new(const tor_addr_t *addr, uint16_t port)
|
||||
ap->port = port;
|
||||
return ap;
|
||||
}
|
||||
|
||||
|
@ -485,7 +485,8 @@ compute_routerstatus_consensus(smartlist_t *votes, int consensus_method,
|
||||
} SMARTLIST_FOREACH_END(rs);
|
||||
|
||||
smartlist_sort(alt_orports, _compare_orports);
|
||||
most_alt_orport = smartlist_get_most_frequent(alt_orports, _compare_orports);
|
||||
most_alt_orport = smartlist_get_most_frequent(alt_orports,
|
||||
_compare_orports);
|
||||
if (most_alt_orport) {
|
||||
memcpy(best_alt_orport_out, most_alt_orport, sizeof(tor_addr_port_t));
|
||||
log_debug(LD_DIR, "\"a\" line winner for %s is %s:%d",
|
||||
|
@ -96,7 +96,8 @@ networkstatus_t *
|
||||
dirserv_generate_networkstatus_vote_obj(crypto_pk_t *private_key,
|
||||
authority_cert_t *cert);
|
||||
|
||||
microdesc_t *dirvote_create_microdescriptor(const routerinfo_t *ri, int consensus_method);
|
||||
microdesc_t *dirvote_create_microdescriptor(const routerinfo_t *ri,
|
||||
int consensus_method);
|
||||
ssize_t dirvote_format_microdesc_vote_line(char *out, size_t out_len,
|
||||
const microdesc_t *md,
|
||||
int consensus_method_low,
|
||||
|
Loading…
Reference in New Issue
Block a user