[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Remove needless parentheses
commit d8c0c62c7b460f82dcded5eb8372b1e51fd3fbb7
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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. */
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits