summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/nodelist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index 2c78c35ab5..72eada57cd 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;
}