Explorar o código

fixup! Extract node_t into its own header.

Nick Mathewson %!s(int64=7) %!d(string=hai) anos
pai
achega
f901ca958a
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/or/nodelist.c

+ 2 - 1
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;
 }