tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit d8c0c62c7b460f82dcded5eb8372b1e51fd3fbb7
parent 4715d818092e02f2c530b172b351d9a2d11df735
Author: Nick Mathewson <nickm@torproject.org>
Date:   Wed, 10 Jan 2018 09:39:13 -0500

Remove needless parentheses

Diffstat:
Msrc/or/nodelist.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/nodelist.c b/src/or/nodelist.c @@ -1637,7 +1637,7 @@ microdesc_has_curve25519_onion_key(const microdesc_t *md) int node_has_curve25519_onion_key(const node_t *node) { - return(node_get_curve25519_onion_key(node)!=NULL); + return node_get_curve25519_onion_key(node) != NULL; } /** Return the curve25519 key of <b>node</b>, or NULL if none. */