summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-15 13:23:44 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-15 13:23:44 -0400
commitf901ca958a69efab6cbc2b7e7908e6dffbd0b614 (patch)
treef362747e5db0f089a8010cfe0a02b42086c5bfdd /src
parent72d2fd83d898c2a7151c7fdbbffbc4c25fe34894 (diff)
downloadtor-f901ca958a69efab6cbc2b7e7908e6dffbd0b614.tar.gz
tor-f901ca958a69efab6cbc2b7e7908e6dffbd0b614.zip
fixup! Extract node_t into its own header.
Diffstat (limited to 'src')
-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;
}