aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-01-10 09:39:13 -0500
committerNick Mathewson <nickm@torproject.org>2018-01-10 09:39:13 -0500
commitd8c0c62c7b460f82dcded5eb8372b1e51fd3fbb7 (patch)
treed3cf0ee54faf7ff80efc7f70ca358050a2e94f22 /src/or/nodelist.c
parent4715d818092e02f2c530b172b351d9a2d11df735 (diff)
downloadtor-d8c0c62c7b460f82dcded5eb8372b1e51fd3fbb7.tar.gz
tor-d8c0c62c7b460f82dcded5eb8372b1e51fd3fbb7.zip
Remove needless parentheses
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r--src/or/nodelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index 95fef43020..2f039a9a52 100644
--- 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. */