commit f901ca958a69efab6cbc2b7e7908e6dffbd0b614
parent 72d2fd83d898c2a7151c7fdbbffbc4c25fe34894
Author: Nick Mathewson <nickm@torproject.org>
Date: Fri, 15 Jun 2018 13:23:44 -0400
fixup! Extract node_t into its own header.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
@@ -638,7 +638,8 @@ nodelist_set_consensus(networkstatus_t *ns)
/** Return 1 iff <b>node</b> has Exit flag and no BadExit flag.
* Otherwise, return 0.
*/
-int node_is_good_exit(const node_t *node)
+int
+node_is_good_exit(const node_t *node)
{
return node->is_exit && ! node->is_bad_exit;
}