]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fixup! Extract node_t into its own header.
authorNick Mathewson <nickm@torproject.org>
Fri, 15 Jun 2018 17:23:44 +0000 (13:23 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 15 Jun 2018 17:23:44 +0000 (13:23 -0400)
src/or/nodelist.c

index 2c78c35ab5448591c9976295b5652e796ecbf9d3..72eada57cd6961be69f619ba09f3cebbb57249a1 100644 (file)
@@ -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;
 }