[tor-commits] [tor/master] Remove needless parentheses
nickm at torproject.org
nickm at torproject.org
Wed Jan 10 14:40:45 UTC 2018
commit d8c0c62c7b460f82dcded5eb8372b1e51fd3fbb7
Author: Nick Mathewson <nickm at torproject.org>
Date: Wed Jan 10 09:39:13 2018 -0500
Remove needless parentheses
---
src/or/nodelist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index 95fef4302..2f039a9a5 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. */
More information about the tor-commits
mailing list