diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-03-26 09:54:31 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-03-26 09:54:31 -0400 |
commit | c0568a89d93e05d98f4ef57d0b7bb659a357dbef (patch) | |
tree | ef06f4c9d2b157b7fcc3f4e417f43a7e6efd4f36 /src/or/entrynodes.c | |
parent | dd572dac34c0ba9e3c360d462d77a09e4f584511 (diff) | |
download | tor-c0568a89d93e05d98f4ef57d0b7bb659a357dbef.tar.gz tor-c0568a89d93e05d98f4ef57d0b7bb659a357dbef.zip |
Whitespace fixes
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r-- | src/or/entrynodes.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index 8dbfeaecea..310a948b35 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -1822,7 +1822,8 @@ get_configured_bridge_by_addr_port_digest(const tor_addr_t *addr, * bridge with no known digest whose address matches <b>addr</b>:<b>port</b>, * return 1. Else return 0. If <b>digest</b> is NULL, check for * address/port matches only. */ -int addr_is_a_configured_bridge(const tor_addr_t *addr, +int +addr_is_a_configured_bridge(const tor_addr_t *addr, uint16_t port, const char *digest) { @@ -1834,7 +1835,8 @@ int addr_is_a_configured_bridge(const tor_addr_t *addr, * <b>ei->identity_digest</b>, or a bridge with no known digest whose address * matches <b>ei->addr</b>:<b>ei->port</b>, return 1. Else return 0. * If <b>ei->onion_key</b> is NULL, check for address/port matches only. */ -int extend_info_is_a_configured_bridge(const extend_info_t *ei) +int +extend_info_is_a_configured_bridge(const extend_info_t *ei) { const char *digest = ei->onion_key ? ei->identity_digest : NULL; return addr_is_a_configured_bridge(&ei->addr, ei->port, digest); |