commit f901ca958a69efab6cbc2b7e7908e6dffbd0b614 Author: Nick Mathewson nickm@torproject.org Date: Fri Jun 15 13:23:44 2018 -0400
fixup! Extract node_t into its own header. --- src/or/nodelist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/or/nodelist.c b/src/or/nodelist.c index 2c78c35ab..72eada57c 100644 --- 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; }